Which of the following information cannot not be included in the Manifest file?
Answer(s): D
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.
http://developer.android.com/guide/topics/manifest/manifest-intro.html
Which method should you use to start a sub-activity?
Answer(s): B
startActivityForResult launches an activity for which you would like a result when it finished.
http://developer.android.com/reference/android/app/Activity.html
Which package of the following does not have classes needed for Android network connections?
Answer(s): C
The android.location package contains the framework API classes that define Android location-based (GPS) and related services.
http://developer.android.com/reference/android/location/package-summary.html
Which of the following tools creates certificates for signing Android applications?
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 100002. Compile your app in release mode to obtain an unsigned APK.3. Sign your app with your private key using jarsigner:
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?
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" />
http://developer.android.com/training/contacts-provider/retrieve-names.html
Post your Comments and Discuss Android AND-401 exam prep with other Community members:
Our website is free, but we have to fight against AI bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the AND-401 content, but please register or login to continue.