Help doing this in Android Studio Requirements 1. Each Activity must use a fragm
ID: 3822312 • Letter: H
Question
Help doing this in Android Studio
Requirements
1. Each Activity must use a fragment in its graphical interface.
2. Each Activity must have a ListView to present items. Selecting an item from the ListView must show detailed information about the item selected.
3. The items listed in the ListView must be stored by the application so that appear the next time the application is launched. The user must be able to add and delete items, which would then also be stored.
4. Each activity must use an AsyncTask in the code. This can be to open a Database, retrieve data from a server, save data, or any other reasonable circumstance.
5. Each activity must have at least 1 progress bar
6. Each activity must have at least 1 button
7. Each activity must have at least 1 edit text with appropriate text input method.
8. Each activity must have at least 1 Toast, Snackbar, and custom dialog notification.
9. A help menu item that displays a dialog with the author’s name, Activity version number, and instructions for how to use the interface.
10. There must be at least 1 other language supported by your Activity. If you are not bilingual, then you must support both British and American English (words like colour, color, neighbour, neighbor, etc). If you know a language other than English, then you can support that language in your application and don’t need to support American English.
Automobile
Include an instruction window that the user can access from a menu on the navigation bar.
You should use fragments to show a ListView displays the settings of a car. Selecting one of these items should display detailed controls for the item. You must design this interface yourself:
Temperature settings – allow the user to set the temperature in the front
Radio controls – include preset radio stations (6) that can be configured by the user. There should also be a volume control, and a mute button
GPS directions – This should launch the google navigation Intent
Lights – There should be a setting for turning on the headlights (normal, high), as well as a dimmable light inside the car.
The user should be able to save the settings for temperature, radio settings, and lights. Their settings
Use a database to store all of the “drive” entries that the user has entered. The user should be able to view all previous entries in a list, but not modify or delete the entries. Also use the database to store the radio station presets, and the user should be able to add, remove, update stations presets.
Explanation / Answer
A. why it is necessary to use Android:id attribute as @id/android: list rather than using @+id/
=>when you’re using @id it means to your are referring an id which have be already shaped .so you need not generate some original id
=>except when you be using robot: id then you are specify a original id plus it will call the builder
To make new entrance called R.java so as to you contain to comprise assign .
B. How this changes the way to grab the List View widget in the relevant java class instead of using find View ById method?
=>we container employ the register view using <list view> </>
=>we can grab the identification by means of android: id’@+id/list view"
=>we can as well denote the plan Height, Gravity ,layout width.
=>this @view bide is parallel to the calling find view Bide ()
=>instance: @View bide (R.id. your Text view)
=>we can also employ the find viewed (R.id.Text1)
Generally we should expand the splinter additionally it will be unconditional through root scrutiny class
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.