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

Shell script display time for user which is idle, Normal 0 fals...

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

Developing a preprocessor for java, How and where to start to develop a pre...

How and where to start to develop a preprocessor for java

3-Tier Architecture in asp.net, I am getting error at business layer object...

I am getting error at business layer object in code behind page.

Develop a mobile phone application for games, You have been asked to set up...

You have been asked to set up a project plan for developing a mobile phone application for London Olympics. Major tasks include conducting some research into different mobile ph

Controlling stepper motor through rtlinux, In this project, we have measure...

In this project, we have measured and compared the performance given by RTLinux, which is real time system with non-real time Linux operating system. Also, we have measured the

Triple eigenvalue with one eigenvector, Triple Eigenvalue with 1 Eigenvecto...

Triple Eigenvalue with 1 Eigenvector The eigenvalue/vector pair in this case are l and  ?h , . Since the eigenvalue is real we know as the first solution we require is, e l

Django template, i''ve a problem with rendering a page with django template...

i''ve a problem with rendering a page with django templates

JSP, can you provide some assignments for JSP learning

can you provide some assignments for JSP learning

What is an abstract class, What is an abstract class:   Abstract class is s...

What is an abstract class:   Abstract class is stated as an abstract concept that cannot be instantiated or comparing to interface this can have some implementation and interface c

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