0
Alien head

Basic Android - 1

Description: Android questionnaire
Number of Questions: 15
Created by:
Tags: Android questionnaire Android
Attempted 0/15 Correct 0 Score 0

_________ Attribute is used to enable app to be moved to SDCard.

  1. AllowBackup

  2. Autoinstall

  3. AllowMove

  4. None of above


Correct Option: B

How to make an Activity to single Instance?

  1. Using Multiprocess attribute in Manifest file

  2. Using LaunchMode attribute in Manifest file

  3. Using TaskAffinity attribute in Manifest file

  4. None of above


Correct Option: B

________ Attribute sets the style of the app.

  1. Style

  2. Theme

  3. ConfigChanges

  4. None of above


Correct Option: B

________ Method returns SDCard location.

  1. Environment.getExternalStoragePath()

  2. Environment.getExternalStorageState()

  3. Environment.getExternalStorageDirectory()

  4. None of above


Correct Option: C

________ Permission is required to access external storage.

  1. WRITE_EXTERNAL_STORAGE

  2. READ_EXTERNAL_STORAGE

  3. Both Op1 and Op2

  4. As per requirement, any of Op1 or Op2


Correct Option: D

How to show ‘Next’, ‘Done’ etc buttons in default keyboard?

  1. Use inputMethod

  2. Use imeActionLabel

  3. Use ImeOptions

  4. Not possible


Correct Option: C

How to make default keyboard not to overlap layout?

  1. windowSoftInputMode="stateUnchanged"

  2. windowSoftInputMode="stateVisible"

  3. windowSoftInputMode="adjustResize"

  4. windowSoftInputMode="adjustPan"


Correct Option: D

__________ is used to create custom adapter for ListView.

  1. ListAdapter

  2. BaseAdapter

  3. CustomAdapter

  4. None of above


Correct Option: B

Can we change network selection 2G/3G/4G in our App, if device is not rooted?

  1. Yes

  2. No

  3. Don’t know

  4. Not applicable


Correct Option: B

What is Android’s preferred image scaling ratio to support multiple devices?

  1. 1:2:4:8:16:32

  2. 2:4:6:8:10:12

  3. 3:4:6:8:12:16

  4. None of above


Correct Option: C

Can we create our own keyboard, if the device is not rooted?

  1. Yes

  2. No

  3. Don’t know

  4. Not applicable


Correct Option: A

New Intent(Intent.ACTION_VIEW,Uri); is an _____

  1. Explicit Intent

  2. Implicit Intent

  3. Special Intent

  4. None of above


Correct Option: B

________ are used to share your data with other applications.

  1. Service

  2. Intents

  3. Content Provider

  4. Activity


Correct Option: C

UserDictionary has data about _________

  1. Device Users

  2. Login Information

  3. Words added by user

  4. Language words


Correct Option: C

_______ Class has methods to access and manage Content Provider data.

  1. ContentProvider

  2. ContentResolver

  3. AccessProvider

  4. None of above


Correct Option: B
+ View questions