platforms and products Online Quiz - 25
|Description: platforms and products Online Quiz - 25|
|Number of Questions: 20|
|Created by: Aliensbrain Bot|
|Tags: platforms and products|
Android resources stored in_______ of Android Application directory structure, are not compiled into binary format.
Pending Intent is commonly used to package an Intent that will be fired in response to a future event, such as a widget View being clicked or a Notification being selected from the notification panel.
The SQLite3 has been implemented as a ______________ that's included as part of the Android software stack
In SQLite3 database, Files (such as bitmaps or audio files) are usually stored within database tables.
________ objects are used to insert new rows into database tables
In SQLite database, there is a strict type checking when assigning or extracting values from each column within a row.
Select Native Android Content Provider(s) from the list below.
Identify “Authority” part of below Content URI - content://contacts/people/3
Select the static Helper method(s) to append an ID to a ContentProvider URI
To answer this question, we need to understand the purpose and usage of the
ContentUris.withAppendedId() - This option is correct because it is a static helper method provided by the
ContentUris class in Android. It is used to append an ID to a ContentProvider URI. The method takes two parameters: the base URI and the ID to be appended. It returns a new URI with the ID appended.
Uri.withAppendedPath() - This option is correct because it is another static helper method provided by the
Uri class in Android. It is used to append a path segment to a URI. The method takes two parameters: the base URI and the path segment to be appended. It returns a new URI with the path segment appended.
Option C) Both a and b above - This option is correct because both
Uri.withAppendedPath() can be used to append an ID to a ContentProvider URI. They serve slightly different purposes, with
ContentUris.withAppendedId() specifically designed for appending IDs, and
Uri.withAppendedPath() designed for appending path segments, which can include an ID.
Option D) None of the above - This option is incorrect because both
Uri.withAppendedPath() are valid static helper methods to append an ID to a ContentProvider URI.
Therefore, the correct answer is Option C) Both a and b above.
Content providers that are not declared in the manifest file are also visible to the Android system
Requests to ContentResolver are automatically forwarded to the appropriate Content Provider instance
If you don't need to share data amongst multiple applications, then you can use a database directly using -