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?
1. Displays a graphical task execution log.
2. Displays graphically a memory acquisition and release log
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?
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.
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.