Correct Answer : Get Lastest Questions and Answer : Explanation: Content providers are one of the primary building blocks of Android applications, providing content to applications. They encapsulate data and provide it to applications through the single ContentResolver interface. A content provider is only required if you need to share data between multiple applications. For example, the contacts data is used by multiple applications and must be stored in a content provider. If you don't need to share data amongst multiple applications you can use a database directly via SQLiteDatabase.
When a request is made via a ContentResolver the system inspects the authority of the given URI and passes the request to the content provider registered with the authority. The content provider can interpret the rest of the URI however it wants. The UriMatcher class is helpful for parsing URIs.
Question : Which of these is the incorrect explanation of SQLite?
1. There are 5 types of data type stored in column; Null, Integer, Real, Text, and Blob.
2. There are restrictions on some functions of SQLite loaded on Android
4. SQLite is a database that saves data in a single file
Correct Answer : Get Lastest Questions and Answer : Explanation: SQLite is a opensource SQL database that stores data to a text file on a device. Android comes in with built in SQLite database implementation.
SQLite supports all the relational database features. In order to access this database, you don't need to establish any kind of connections for it like JDBC,ODBC e.t.c
Question : When executing android.content.Context.openFileOutput("sample.txt", ), which path is the file stored in?
4. The development tools that can be downloaded from Android SDK and AVD Manager are SDK Androidplatform, NDK-platform, emulator images, and USB drivers for handsets.