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

Adding new features to a simple shell implementation, You will be working o...

You will be working on creating both a realistic project environment and on adding new features to a simple shell implementation provided in shell.tar.z. After you un-tar it, let's

Prims algorithm for minimum spanning tree, Implement the Prim's algorithm w...

Implement the Prim's algorithm with array data structure as described in slide 12 of the file 04mst.ppt. Your program should have a runtime complexity of O(n2) and should be as eff

Script shell to display lines of a file in reverse order, Normal 0 ...

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

Jsp - quiz, JSP QUIZ ASSIGNMENT SHOULD BE FUNCTIONAL ON ECLIPSE QUIZ HAS ...

JSP QUIZ ASSIGNMENT SHOULD BE FUNCTIONAL ON ECLIPSE QUIZ HAS TOTAL 20 QUESTIONS REGARDING VARIOUS CAPITALS OF COUNTRIES. WELCOME PAGE OFFERS USER TO ENTER HIS NAME. THEN USER C

Lisp and Prolog, Is there one can help me in the language Lisp and Prolog

Is there one can help me in the language Lisp and Prolog

Scramble word game, The aims of this assignment are to:    Provide e...

The aims of this assignment are to:    Provide experience in the use of a modern Integrated Development Environment (specifically NetBeans running on a Linux platform) for t

Program to compute mixing ratio, Write a program to compute: 1.)    Mixi...

Write a program to compute: 1.)    Mixing ratio, W=.622[Vapor pressure/(pressure-vapor pressure)] 2.)    Virtual temperature, VT=T(1+0.61 mixing ratio) = T(1+.61W) 3.)

Shell script to count of five character words, Normal 0 false ...

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

Devlop personalized location based news service, The system you will develo...

The system you will develop should provide the following functionality to its users.     1.  Your system should allow the users to aggregate three different RSS feeds (they should

System flowchart, creating system flowchart for website

creating system flowchart for website

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