Design and create a new class, Programming Languages

Assignment Help:

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.


Related Discussions:- Design and create a new class

Creating variables in java script, You must use the keyword ''var'' to crea...

You must use the keyword ''var'' to create and initialize a variable. The placement of the variable creation in your code is very important. Examples: var first = 21; var secon

Windows workflow foundation, Windows Workflow Foundation Microsoft windows ...

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

Write simple scripts programs , Write 3 somewhat simple scripts / programs ...

Write 3 somewhat simple scripts / programs in any language, combination of languages, and/or software. Please tell me the task you are trying to accomplish in the scripts. Idea

Define a procedure which makes an avl tree with one node, (a) Define a proc...

(a) Define a procedure called make-avl-tree which makes an AVL tree with one node. Also create another constructor build-avl-tree that creates an AVL tree from a root, left subtree

Java program, Write a java program for inserting a particular node.

Write a java program for inserting a particular node.

JSP, can you provide some assignments for JSP learning

can you provide some assignments for JSP learning

Explain the do - while statement - computer programming, Explain the Do - W...

Explain the Do - While Statement - Computer Programming? A do - while loop is an exit controlled loop and the body of the loop gets executed at least once if the condition is n

Operating systems, I do have an assignment in operating systems programming...

I do have an assignment in operating systems programming ... how can i attach my file?

Write a program to show ten buttons with five possible color, Write a progr...

Write a program to show ten buttons with five possible colors: red, green, orange, yellow, blue. When the user clicks on a button, its color must advance to the next color, or go b

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd