Premium

Associate Android Developer Certification Questions and Answer (Dumps and Practice Questions)



Question : Which ContentProvider does Android not provide as a standard?

 : Which ContentProvider does Android not provide as a standard?
1. A telephone log

2. A database

3. Access Mostly Uused Products by 50000+ Subscribers

4. A contact list

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?

 : 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

3. Access Mostly Uused Products by 50000+ Subscribers

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?


 : When executing android.content.Context.openFileOutput(
1. /data/app//files

2. /data/data//files

3. Access Mostly Uused Products by 50000+ Subscribers

4. /system/data//files


Correct Answer : Get Lastest Questions and Answer :
Explanation:


Related Questions


Question : If your application is throwing exception android.content.ActivityNotFoundException, how to fix it?

 : If your application is throwing exception android.content.ActivityNotFoundException, how to fix it?
1. Create a new activity Java sub-class.

2. Rename your activity

3. Access Mostly Uused Products by 50000+ Subscribers

4. Add the activity to the AndroidManifest


Question : Consider the following code:
Intent intent = new Intent();
intent.setAction(Intent.ACTION_VIEW);
intent.setData(android.net.Uri.parse("http://www.androidatc.com"));
startActivity(intent);
Which of the following is correct about the code above?

 : Consider the following code:
1. It sends a result to a new Activity in a Bundle.

2. It will not compile without adding the INTERNET permission the Manifest file.

3. Access Mostly Uused Products by 50000+ Subscribers

4. When it is executed, the system starts an intent resolution process to start the right Activity.


Question : Which of the following is not true about tag in AndroidManifest file?

 : Which of the following is not true about <activity> tag in AndroidManifest file?
1. Declares an activity that implements part of the application's visual user interface

2. Contained in tag.

3. Access Mostly Uused Products by 50000+ Subscribers

4. Has an attribute that specifies the name of the Activity sub-class that implements the activity


Question : Which of these is NOT recommended in the Android Developer's Guide as a method of creating an individual View?

 : Which of these is NOT recommended in the Android Developer's Guide as a method of creating an individual View?
1. Create by extending the android.view.View class.

2. Create by extending already existing View classes such as Button or TextView.

3. Access Mostly Uused Products by 50000+ Subscribers

4. Create by combining multiple Views.


Question : Which of these is the incorrect explanation of the Android SDK and AVD Manager?

 : Which of these is the incorrect explanation of the Android SDK and AVD Manager?
1. They are provided from version 1.6 of the SDK. Up to Version 1.5, there was an AVD Manager but it lackedSDK management functions.

2. You can create and startup AVD, and on startup you can delete user data up to that point.

3. Access Mostly Uused Products by 50000+ Subscribers

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.


Question : Which of these is the correct explanation regarding the following methods?
(1)android.content.Context.sendBroadcast
(2)android.content.Context.startActivity

 : Which of these is the correct explanation regarding the following methods?
1. Both methods are defined by overloading.

2. Both methods throw an exception.

3. Access Mostly Uused Products by 50000+ Subscribers

4. Both methods are able to broadcast an Intent.