Design and create a new class, Programming Languages

You are to design and create a new class called SelectCallDataDialog, which opens by clicking browse  buttons for selection of ringtones,  vibrations or leds. Depending on which the user has selected, this class needs to be able to scan the "Documents" directory and display all the files with either ".aud", ".vib" or ".led" file extensions in a list of some sort. Users should be able to  select the desired pattern (aud/vib/led) to associate with that particular contact and function. This of course should immediately update the AddContactDialog but should not be stored until the user has specifically requested to save the modifications.

The functionality for this class involves:

  • Scanning the directory and displaying a list of audio, vibration or led files according to the corresponding detail.
  • Being able to iterate through the list and select one to associate with the user. If the previously associated detail is among the selectable list then it should be the default highlighted selection, otherwise highlight the first alphabetical file.
  • Select button to close the dialog and cause the AddContactDialog to update. However, storing the changes should only happen upon the user clicking the "Save" button for either new contacts or editing.
  • The ability to select defaults: "Default" for ringtone and "Pulse" for vibration/leds.
  • Cancel button to close the dialog with no changes.

Note that for this task you may wish to create several dummy pattern files to appropriately test and demonstrate this part of the assignment. Audio files may be blank but vibration and led files should have pattern data explained in the next task.

Posted Date: 2/22/2013 6:11:53 AM | Location : United States







Related Discussions:- Design and create a new class, Assignment Help, Ask Question on Design and create a new class, Get Answer, Expert's Help, Design and create a new class Discussions

Write discussion on Design and create a new class
Your posts are moderated
Related Questions
I want to set up automatic Amazon login

Windows Workflow Foundation Microsoft windows Work-flows foundation (WF) is an Enthusiasm technological innovation that provides an API, an in-process workflow website, and a rehos

A string s is said to be periodic with a period α, if s is α k for some k > 2. (Note that α k is the string formed by concatenating k times.) A DNA sequence s is called a tande

Expertsmind brings you unique solution in java assignments Interfaces A program in the Java selection language is a fuzzy type that is used to specify a program (in the ge

Multithreaded Calculator In this Lab, you will be implementing a simple multithreaded calculator. Our calculator will accept expressions as infix notation text strings consist

A charitable organization wants to design a special ATM machine to be used by needy people. The association supplies the needy person with a pin number to be able to use the ATM

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4


Microsoft Intermediate Language in .NET When you create value in any terminology and gather, it will be changed to an 'Intermediate Language' (Microsoft Advanced Language - MSIL

1.  Use mathematical induction to prove Whenever n is a positive integer. 2.  Use loop invariant to prove that the program for computing the sum of 1,...,n is correct.