Premium

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



Question : Which package of the following does not have classes needed for Android network connections?

 : Which package of the following does not have classes needed for Android network connections?
1. java.net

2. org.apache.http

3. Access Mostly Uused Products by 50000+ Subscribers

4. android.net

Correct Answer : Get Lastest Questions and Answer :
Explanation: This API is not the recommended method for accessing Android location.
The Google Location Services API, part of Google Play services, is the preferred way to add location-awareness to your app. It offers a simpler API, higher accuracy, low-power geofencing, and more. If you are currently using the android.location API, you are strongly encouraged to switch to the Google Location Services API as soon as possible.





Question : Which of the following tools creates certificates for signing Android applications?

 : Which of the following tools creates certificates for signing Android applications?
1. adb

2. logcat

3. Access Mostly Uused Products by 50000+ Subscribers

4. certgen

Correct Answer : Get Lastest Questions and Answer :
Explanation: Android requires that all apps be digitally signed with a certificate before they can be installed. Android uses this certificate to identify the author of an app, and the certificate does not need to be signed by a certificate authority. Android apps often use self-signed certificates. The app developer holds the certificate's private key.

Signing Overview
You can sign an app in debug or release mode. You sign your app in debug mode during development and in release mode when you are ready to distribute your app. The Android SDK generates a certificate to sign apps in debug mode. To sign apps in release mode, you need to generate your own certificate.

Signing in Debug Mode

In debug mode, you sign your app with a debug certificate generated by the Android SDK tools. This certificate has a private key with a known password, so you can run and debug your app without typing the password every time you make a change to your project.

Android Studio signs your app in debug mode automatically when you run or debug your project from the IDE.

You can run and debug an app signed in debug mode on the emulator and on devices connected to your development machine through USB, but you cannot distribute an app signed in debug mode.

By default, the debug configuration uses a debug keystore, with a known password and a default key with a known password. The debug keystore is located in $HOME/.android/debug.keystore, and is created if not present. The debug build type is set to use this debug SigningConfig automatically.




Question : Which manifest file permission you should add to allow your application to read the device's address book?

 : Which manifest file permission you should add to allow your application to read the device's address book?
1. READ_ADDRESS_DATA

2. READ_PHONE_STATE

3. Access Mostly Uused Products by 50000+ Subscribers

4. READ_CONTACTS

Correct Answer : Get Lastest Questions and Answer :
Explanation: Match contact names
Retrieve a list of contacts by matching the search string to all or part of the contact name data. The Contacts Provider allows multiple instances of the same name, so this technique can return a list of matches.
Match a specific type of data, such as a phone number
Retrieve a list of contacts by matching the search string to a particular type of detail data such as an email address. For example, this technique allows you to list all of the contacts whose email address matches the search string.
Match any type of data
Retrieve a list of contacts by matching the search string to any type of detail data, including name, phone number, street address, email address, and so forth. For example, this technique allows you to accept any type of data for a search string and then list the contacts for which the data matches the string.

Request Permission to Read the Provider
To do any type of search of the Contacts Provider, your app must have READ_CONTACTS permission. To request this, add this element to your manifest file as a child element of :




Related Questions


Question : Which of these is the incorrect role for an Intent?

 : Which of these is the incorrect role for an Intent?
1. Start an Activity

2. Start a BroadcastReceiver

3. Access Mostly Uused Products by 50000+ Subscribers

4. Start a Service


Question : Which is not included in the Android application framework?

 : Which is not included in the Android application framework?
1. WindowManager

2. NotificationManager

3. Access Mostly Uused Products by 50000+ Subscribers

4. PackageManager


Question : Which is of these is the incorrect explanation of layoutopt?

 : Which is of these is the incorrect explanation of layoutopt?
1. It is a tool used on the command line and does not have GUI.

2. It helps optimize application layout and layout hierarchy.

3. Access Mostly Uused Products by 50000+ Subscribers

4. It can be used as an SDK tool from revision 4 and later


Question : Which of these is the correct explanation of the Android Interface Description Language?

 : Which of these is the correct explanation of the Android Interface Description Language?
1. It enables data exchange between different applications.

2. You cannot use Java primitive types as method parameters.

3. Access Mostly Uused Products by 50000+ Subscribers

4. It provides an environment for executing script languages


Question : Which of these is the incorrect explanation of ProgressDialog?

 : Which of these is the incorrect explanation of ProgressDialog?
1. ProgressDialog inherits from the AlertDialog class.

2. ProgressDialog can be set as 2 types of style: STYLEJHORIZONTAL and STYLE_SPINNER.

3. Access Mostly Uused Products by 50000+ Subscribers

4. ProgressDialog can be freely configured to use a Drawable class to display as its progress bar.


Question : Which of these is the correct function of Traceview?

 : Which of these is the correct function of Traceview?
1. Displays a graphical task execution log.

2. Displays graphically a memory acquisition and release log

3. Access Mostly Uused Products by 50000+ Subscribers

4. Displays graphically the Ul state hierarchy