![]() Shows the location of your mouse on the screenġ7-What operating system in Android built on top of?ġ8-You can use a TextView to accept input from a user.ġ9-All features in Java are available in AndroidĢ0-What should you do when updating an application to run on Android watch?Ĭhange the application style to one with NoActionBarĢ2-What command can be used to run SQL commands from ADB?Ģ3-What does the getCount() method of an adapter return?Ģ4-The getItem() method of an adapter returns the view to be shown in the list.Ģ5-Given a variable "prefs" that contains a SharedPreferences object, what method would retrieve the editor which can be used to make changes to stored values?Ģ6-Given a SQLite table called 'names' that has two columns 'id' and 'name', retrieve a Cursor with all rows in the table?Ģ7-Using Java, write how to set a checkbox to be checked in some layout that has an ID of "checkbox"?Ģ8-Given a SQLite table called 'names' that has two columns, an autoincrementing key named 'id' and a text column named 'name', insert a new row with a name of 'Elon Musk'.?Ģ9-Recreate the below XML for a profile page using any layout you wish. Android SQLite is a very lightweight database which comes. Below is the final app we will create today using Android SQLite database. For many applications, SQLite is the apps backbone whether it’s used directly or via some third-party wrapper. Iterator of the results returned from a query Android SQLite is the mostly preferred way to store data for android applications. onResume, onStop, etc.)Ĥ-Background Activities can be destroyed by Android when the system is low on memoryĥ-What is the main advantage of reusing views in getView() of an adapter?Ħ-It's possible to nest a LinearLayout inside a GridLayout.ħ-What is the name of the data structure in SQLite that contains the columns of types, and rows of content?įile object of the application's install directory on the deviceįile object of the general file directory on the deviceįile object of the external storage on the deviceĩ-onProgressUpdate() in AsyncTask runs on the GUI threadġ0-Which XML parser is recommended to use in Android?ġ1-It's possible to use variables in XML to support multiple languages.ġ2-Which lifecycle method is called first for a new activity?ġ3-What does an XML parser take as input?ġ4-Listeners can be added to detect when a specific item in a list has been selectedġ5-Which of the following can not be added to an AlertDialog builder? When the SQLite DB doesn't exist on the deviceģ-You must implement all of the lifecycle functions in your activities (i.e. When the SQLite DB already exists on the device but is older than the current version.Ĭ. 1- Which type of prompt is most appropriate to use as a confirmation for deleting an item?Ģ-When is the onUpgrade method of your SQLite handler called?ī.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |