Premium

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



Question : To create a customized Adapter for a compound list item layout, you should:

 : To create a customized Adapter for a compound list item layout, you should:
1. Extend class android.widget.Adapter or any of its descendants then override method getView()

2. Extend class android.widget.ListView or any of its descendants, then override method getView()

3. Access Mostly Uused Products by 50000+ Subscribers

4. Extend class android.widget.Adapter or any of its descendants, then override method getAdapterView().

Correct Answer : Get Lastest Questions and Answer :
Explanation:




Question : When publishing an update to your application to the market, the following must be taken into consideration:

 : When publishing an update to your application to the market, the following must be taken into consideration:
1. The package name must be the same, but the .apk may be signed with a different private key.

2. The package name does not have to be the same and the .apk can be signed with a different private key.

3. Access Mostly Uused Products by 50000+ Subscribers

4. The package name does not have to be the same, but the .apk must be signed with the same private key.

Correct Answer : Get Lastest Questions and Answer :
Explanation:




Question : Which of these is the incorrect method for an Application to save local data?

 : Which of these is the incorrect method for an Application to save local data?
1. Extend PreferencesActivity and save in an XML file.

2. Save as a file in the local file system.

3. Access Mostly Uused Products by 50000+ Subscribers

4. Save in the hash table file using the Dictionary class.

Correct Answer : Get Lastest Questions and Answer :
Explanation: Most Android apps need to save data, even if only to save information about the app state during onPause() so the user's progress is not lost. Most non-trivial apps also need to save user settings, and some apps must manage large amounts of information in files and databases. This class introduces you to the principal data storage options in Android, including:

Saving key-value pairs of simple data types in a shared preferences file
Saving arbitrary files in Android's file system
Using databases managed by SQLite


Related Questions


Question : Which of the following is a correct Android Manifest statement?

 : Which of the following is a correct Android Manifest statement?
1.

2.

3.

4.


Question : Which of the following is true about attribute android:windowSoftInputMode of the tag in file AndroidManifest.xml?

 : Which of the following is true about attribute android:windowSoftInputMode of the <activity> tag in file AndroidManifest.xml?
1. It specifies whether the window is in full screen or not

2. It adjusts how the main window of the activity interacts with keyboard

3. It adjusts how the window should be launched

4. It adjusts the window orientation


Question : Which of the following tools dumps system log messages including stack traces when the device or emulator throws an error?

 : Which of the following tools dumps system log messages including stack traces when the device or emulator throws an error?
1. DDMS

2. Logcat

3. Console

4. ADB


Question : Javascript is enabled by default in a WebView

 : Javascript is enabled by default in a WebView
1. True
2. False


Question : How to enable JavaScript in WebView?

 : How to enable JavaScript in WebView?
1. myWebView. setJavaScriptEnabled(true);

2. myWebView.getJavaScriptSettings.setEnabled(true)

3. myWebView.getSettings().setJavaScriptEnabled(true);

4. Java script is always enabled in WebView


Question : What two methods you have to override when implementing Android context menus?

 : What two methods you have to override when implementing Android context menus?
1. onCreateOptionsMenu, onCreateContextMenu

2. onCreateContextMenu, onContextItemSelected

3. onCreateOptionsMenu, onOptionsItemSelected

4. onCreateOptionsMenu, onContextItemSelected