Free AND-401 Exam Braindumps
Android Application Development Questions 61–65 (page: 14)

Updated On: 9-Feb-2026

Which of the following information cannot not be included in the Manifest file?

  1. The activities contained in the application
  2. The permissions required by the application
  3. The application’s minimum SDK version required.
  4. The handset model compatible with your application.

Answer(s): D

Explanation:

Among other things, the manifest does the following:
* It describes the components of the application — the activities, services, broadcast receivers, and content providers that the application is composed of.
* It declares which permissions the application must have in order to access protected parts of the API and interact with other applications.
* It declares the minimum level of the Android API that the application requires.


Reference:

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



Which method should you use to start a sub-activity?

  1. startActivity(Intent intent)
  2. startActivityForResult(Intent intent , int requestCode)
  3. startService(Intent intent)
  4. startSubActivity(Intent intent)

Answer(s): B

Explanation:

startActivityForResult launches an activity for which you would like a result when it finished.


Reference:

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



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

  1. java.net
  2. org.apache.http
  3. android.location
  4. android.net

Answer(s): C

Explanation:

The android.location package contains the framework API classes that define Android location-based (GPS) and related services.


Reference:

http://developer.android.com/reference/android/location/package-summary.html



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

  1. adb
  2. logcat
  3. keytool
  4. certgen

Answer(s): C

Explanation:

You do not need Android Studio to sign your app. You can sign your app from the command line using standard tools from the Android SDK and the JDK. To sign an app in release mode from the command line:
1. Generate a private key using keytool. For example:
$ keytool -genkey -v -keystore my-release-key.keystore
-alias alias_name -keyalg RSA -keysize 2048 -validity 10000
2. Compile your app in release mode to obtain an unsigned APK.
3. Sign your app with your private key using jarsigner:


Reference:

http://developer.android.com/tools/publishing/app-signing.html



Which Android permission you should add to allow your application to read the device’s address book?

  1. READ_ADDRESS_DATA
  2. READ_PHONE_STATE
  3. READ_PHONE_CONTACTS
  4. READ_CONTACTS

Answer(s): D

Explanation:

To do any type of search of the Contacts Provider, your app must have READ_CONTACTS permission. To request this, add this <uses-permission> element to your manifest file as a child element of <manifest>:
<uses-permission android:name="android.permission.READ_CONTACTS" />


Reference:

http://developer.android.com/training/contacts-provider/retrieve-names.html



Viewing page 14 of 47
Viewing questions 66 - 70 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!