Premium

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



Question : Which of the following is incorrect about ProgressDialog?

 : Which of the following is incorrect about ProgressDialog?
1. ProgressDialog inherits from the AlertDialog class.

2. ProgressDialog can be set as 2 types of style: STYLE_HORIZONTAL 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.

Correct Answer : Get Lastest Questions and Answer :
Explanation: A dialog showing a progress indicator and an optional text message or view. Only a text message or a view can be used at the same time.

The dialog can be made cancelable on back key press.

The progress range is 0..10000.




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

Correct Answer : Get Lastest Questions and Answer :
Explanation: Traceview is a graphical viewer for execution logs saved by your application. Traceview can help you debug your application and profile its performance.

To start the Traceview tool:

Start the Android Device Monitor.
In the Android Device Monitor tool bar, click DDMS and select a process.
Click the Start Method Profiling icon to start method profiling.
After the profiling is complete, click the Stop Method Profiling icon to display the traceview.
For more information on how to use Traceview, see Profiling with Traceview and dmtracedump.

Note: Running traceview from the command line has been deprecated.




Question : Which of the following is the correct way to add access permission to your application?

 : Which of the following is the correct way to add access permission to your application?
1. Add a tag as a child tag of the tag in AndroidManifest.xml

2. Add a tag as a child tag of the tag in AndroidManifest.xml.

3. Access Mostly Uused Products by 50000+ Subscribers

4. add a tag as a child tag of the tag in AndroidManifest.xml

Correct Answer : Get Lastest Questions and Answer :
Explanation: SYNTAX:
android:maxSdkVersion="integer" />
CONTAINED IN:

DESCRIPTION:
Requests a permission that the application must be granted in order for it to operate correctly. Permissions are granted by the user when the application is installed (on devices running Android 5.1 and lower) or while the app is running (on devices running Android 6.0 and higher).
For more information on permissions, see the Permissions section in the introduction and the separate System Permissions API guide. A list of permissions defined by the base platform can be found at android.Manifest.permission.


Related Questions


Question : Which of the following is not a valid Android resource file name?

 : Which of the following is not a valid Android resource file name?
1. mylayout.xml

2. myLayout.xml

3. my_layout.xml

4. mylayout1.xml


Question : Which of these is not defined as a process state?

 : Which of these is not defined as a process state?
1. Non-visible

2. Visible

3. Foreground

4. Background


Question : What is the name of the folder that contains the R.java file?

 : What is the name of the folder that contains the R.java file?
1. src

2. res

3. bin

4. gen


Question : What is a correct statement about an XML layout file?

 : What is a correct statement about an XML layout file?
1. A layout PNG image file

2. A file used to draw the content of an Activity

3. A file that contains all application permission information

4. A file that contains a single activity widget


Question : What does the src folder contain?

 : What does the src folder contain?
1. Image and icon files

2. XML resource files

3. The application manifest file

4. Java source code files


Question : Which file specifies the minimum required Android SDK version your application supports?

 : Which file specifies the minimum required Android SDK version your application supports?
1. main.xml

2. R.java

3. strings.xml

4. AndroidManifest.xml