Free AND-401 Exam Braindumps
Android Application Development Questions 76–80 (page: 17)

Updated On: 9-Feb-2026

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 lacked SDK management functions.
  2. You can create and startup AVD, and on startup you can delete user data up to that point.
  3. The "android" command can be used if "<SDK install folder>/tools" is added to the command path.
  4. The development tools that can be downloaded from Android SDK and AVD Manager are SDK Android platform, NDK-platform, emulator images, and USB drivers for handsets.

Answer(s): D



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

  1. Both methods are defined by overloading.
  2. Both methods throw an exception.
  3. Both methods are asynchronous.
  4. Both methods are able to broadcast an Intent.

Answer(s): D



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. ProgressDialog is able to apply a custom XML-defined layout by using the setContentView(...) method.
  4. ProgressDialog can be freely configured to use a Drawable class to display as its progress bar.

Answer(s): C

Explanation:

Incorrect:
A: ProgressDialog extends the AlertDialog class.
B: STYLE_HORIZONTAL creates a ProgressDialog with a horizontal progress bar. STYLE_SPINNERcreates a ProgressDialog with a circular, spinning progress bar.


Reference:

http://developer.android.com/reference/android/app/ProgressDialog.html



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. Displays graphically the call stack.
  4. Displays graphically the Ul state hierarchy.

Answer(s): A

Explanation:

Traceview is a graphical viewer for execution logs saved by your application. Traceview can help you debug your application and profile its performance.


Reference:

http://developer.android.com/tools/help/traceview.html



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

  1. Add a <uses-permission> tag as a child tag of the <manifest> tag in AndroidManifest.xml
  2. Add a <add-permission> tag as a child tag of the <manifest> tag in AndroidManifest.xml.
  3. Add a <uses-permission> tag as a child tag of the <application> tag in AndroidManifest.xml.
  4. add a <permission> tag as a child tag of the <application> tag in AndroidManifest.xml

Answer(s): A

Explanation:

If an application needs access to a feature protected by a permission, it must declare that it requires that permission with a <uses-permission> element in the manifest. Then, when the application is installed on the device, the installer determines whether or not to grant the requested permission by checking the authorities that signed the application's certificates and, in some cases, asking the user. If the permission is granted, the application is able to use the protected features. If not, its attempts to access those features will simply fail without any notification to the user.


Reference:

http://developer.android.com/guide/topics/manifest/manifest-intro.html



Viewing page 17 of 47
Viewing questions 81 - 85 out of 228 questions


Post your Comments and Discuss Android AND-401 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!