This assignment is about creating the Rolodex application that contains the contact information. Each contact information includes:
First name
Last name
Middle name (optional)
Phone number
The Rolodex application will use SharedPreferences for data persistent operations:
Retrieve Rolodex records
Add a new Rolodex record
Update the existing Rolodex record
Delete the selected Rolodex record
The Rolodex application uses Fragment and DialogFragment. In addition, the Rolodex records are displayed in the ListView view. The ListView view is set to be single-selection mode.
Each row in the ListView view is another layout. The layout for each row contains two TextView views.
The top TextView view contains the name of the contact, starting the last name, then the comma, and followed by the first name and middle name.
The bottom TextView view contains the phone number.
No duplicate records would be allowed.
Figure #1 – This is the application tool bar. There are three buttons: Add, Update, and Delete. Clicking on the Add button will display the Add Rolodex dialog. Clicking on the Update button will display the Update Rolodex dialog. Clicking on the Delete button will delete the currently selected list row.
Figure #2 – This is the main screen which appears when the application starts up. If there are any Rolodex records created previously, these records will be retrieved and displayed in the ListView view.
Figure #3 – This is the Add Rolodex DialogFragment, which prompts the user to enter the Rolodex data as shown. The text hints are displayed in the TextView views. As the user enters the data, the text hints will disappear and only show the texts as entered by the user. On this dialog, there are two buttons (CANCEL and OK). The OK button will add the new Rolodex data into the SharedPreferences. The main ListView view will then be refreshed automatically to include the newly added Rolodex record. The CANCEL button will close down the dialog and no new Rolodex record will be added to the SharedPreferenes.
Figure #4 – This is the Update Rolodex DialogFragment. The data from the selected row will be populated here. The user can make the changes. On this dialog, there are two buttons (CANCEL and OK). The OK button will update the selected Rolodex data in the SharedPreferences. The main ListView view will then be refreshed automatically to include the newly updated Rolodex record. The CANCEL button will close down the dialog and no changes will be updated to the SharedPreferenes.
Figure #5 – The CONFIRMATION DialogFragment is displayed when the user attempts to delete the selected Rolodex record in the ListView view. On this dialog, there are two buttons (CANCEL and OK). The OK button will delete the selected Rolodex data from the SharedPreferences. The main ListView view will then be refreshed automatically to include the current Rolodex data obtained from the SharedPrefereces. The CANCEL button will close down the dialog and no changes will be updated to the SharedPreferenes.
In JAVA.
This assignment is about creating the Rolodex application that contains the contact information. Each contact information...
I. User Interface Create a JavaFX application with a graphical user interface (GUI) based on the attached “GUI Mock-Up”. Write code to display each of the following screens in the GUI: A. A main screen, showing the following controls: • buttons for “Add”, “Modify”, “Delete”, “Search” for parts and products, and “Exit” • lists for parts and products • text boxes for searching for parts and products • title labels for parts, products, and the application title B. An add...
JAVA CODING
Must be compilable, thanks
The purpose is to provide an exercise in event-driven
programming and image handling using JavaFX. Create an application
that responds to the user clicking command buttons. Initially, it
will display one of two graphic images and, based upon the button
clicked by the user, will switch the image displayed. If the user
clicks the mouse button to display the same image as is currently
displayed, the image is not changed, but a message at...
create a handler you can visit to set up your database table. It contains all the fields needed to make a simple workout tracker. name - the name of the exercise reps - the number of times the exercise was performed weight - the weight of the weights used date - the date the exercise was performed lbs - a boolean indicating if the measurement is in lbs or kg. 1 indicates lbs, 0 indicates kgs. Requirements You need to...
*Use Java to create this program* For this assignment, you will be building a Favorite Songs application. The application should have a list with the items displayed, a textbox for adding new items to the list, and four buttons: Add, Remove, Load, and Save. The Add button takes the contents of the text field (textbox) and adds the item in it to the list. Your code must trim the whitespace in front of or at the end of the input...
GUI Programming Creating a Kilometer to Miles Converter Lab Assignment Objectives Understand the basics of tkinter GUI development. Based on an informal application specification be able to develop a tkinter GUI program that contains one or more Label widgets. Be able to prompt user for input to a GUI application using a messagebox. Obtain user input into a GUI application that can be used for event driven selection. Be able to develop a tkinter GUI program that supports event-based widgets....
In C++ write a simple menu program that displays a menu for the user in an object-oriented technique. The menu should keep showing up until the user chooses to quit. Also, there is a sub-menu inside a menu. The user should get at least a line displayed after he or she chooses that particular option meaning if the user presses 1 for the read actors from the file. The output can look like "reading actors from a file" and then...
- php
Project 6-2: Manage technicians For this project, you'll create an application that lets an admin user view and delete existing technicians. In addition, this application lets the user add a new technician, (Required reading: chapters 1-6) The Technician List page S tiro Technical C l ocalhost project solutions/ch06_tech support technician manager SportsPro Technical Support Sports management Software for the sports enthusiast Home Technician List First Name Last Name Email Phone Password Alson Du alison sportspro com 800-555-0443 Sesame...
***PLEASE AVOID USING A "CLASS" IN SOLUTION*** thank you.
Please use Visual Studio to write a C# program to allow user to
store contact information.
1. User should be able to type in name, E-mail and phone number
in the text boxes and click Add button to save the contact record.
Every time when user add record, user should be able to see all the
information displayed in the right side display text box. (allow up
to 10 records)
2....
Create a Wpf application Use Visual Studios 2019 A shipping company receives packages at its headquarters, which functions as its shipping hub. After receiving the packages the company ships them to a distribution center in one of the following states: Alabama, Florida, Georgia, Kentucky, Mississippi, North Carolina, South Carolina, Tennessee, West Virginia or Virginia. The company needs an application to track the packages that pass through its shipping hub. The application generates a package ID number for each package that...
PYTHON PROGRAMMING LANGUAGE (NEEDED ASAP)
Using a structured approach to writing the program: This section will guide you in starting the program in a methodical way. The program will display a window with GUI widgets that are associated with particular functions: Employee Payroll O X -- - - - - - - - - - - Show Payroll Find Employee by Name Highest Lowest Find Employee by Amount Write Output to Fie Cancel - -------- ------------- Notice that some of...