Basic Android - 1

Android questionnaire

15 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

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

  1. AllowBackup
  2. Autoinstall
  3. AllowMove
  4. None of above
Question 2 Multiple Choice (Single Answer)

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
Question 3 Multiple Choice (Single Answer)

________ Attribute sets the style of the app.

  1. Style
  2. Theme
  3. ConfigChanges
  4. None of above
Question 4 Multiple Choice (Single Answer)

________ Method returns SDCard location.

  1. Environment.getExternalStoragePath()
  2. Environment.getExternalStorageState()
  3. Environment.getExternalStorageDirectory()
  4. None of above
Question 5 Multiple Choice (Single Answer)

________ 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
Question 6 Multiple Choice (Single Answer)

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

  1. Use inputMethod
  2. Use imeActionLabel
  3. Use ImeOptions
  4. Not possible
Question 7 Multiple Choice (Single Answer)

How to make default keyboard not to overlap layout?

  1. windowSoftInputMode="stateUnchanged"
  2. windowSoftInputMode="stateVisible"
  3. windowSoftInputMode="adjustResize"
  4. windowSoftInputMode="adjustPan"
Question 8 Multiple Choice (Single Answer)

__________ is used to create custom adapter for ListView.

  1. ListAdapter
  2. BaseAdapter
  3. CustomAdapter
  4. None of above
Question 9 Multiple Choice (Single Answer)

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
Question 10 Multiple Choice (Single Answer)

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
Question 11 Multiple Choice (Single Answer)

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

  1. Yes
  2. No
  3. Don’t know
  4. Not applicable
Question 12 Multiple Choice (Single Answer)

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

  1. Explicit Intent
  2. Implicit Intent
  3. Special Intent
  4. None of above
Question 13 Multiple Choice (Single Answer)

________ are used to share your data with other applications.

  1. Service
  2. Intents
  3. Content Provider
  4. Activity
Question 14 Multiple Choice (Single Answer)

UserDictionary has data about _________

  1. Device Users
  2. Login Information
  3. Words added by user
  4. Language words
Question 15 Multiple Choice (Single Answer)

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

  1. ContentProvider
  2. ContentResolver
  3. AccessProvider
  4. None of above