Android Development - Widgets, Location & Device Administration

Test your knowledge of Android mobile development including App Widgets, Location-based services, and Device Administration API

15 Questions Published

Questions

Question 1 True/False

If a device contains multiple enabled admin applications, the strictest policy is enforced by the Device Administration API

  1. True
  2. False
Question 2 Multiple Choice (Multiple Answers)

What are the various channels used to distribute Device Administration API on a user's device?

  1. Android Market
  2. Enabling non-market installation
  3. Distributing the application through other means, such as email or websites
  4. None of the above
Question 3 Multiple Choice (Single Answer)

Which component API is used to navigate between map locations?

  1. MapActivity
  2. MapView
  3. MapController
  4. None of the above
Question 4 Multiple Choice (Multiple Answers)

What are the packages included in the Location based API?

  1. Android.location
  2. com.google.android.map
  3. com.tcs.mobility
  4. None of the above
Question 5 Multiple Choice (Single Answer)

A class representing a geographic location sensed at a particular time is called

  1. Map Class
  2. Location Class
  3. Area Class
  4. All of the above
Question 6 Multiple Choice (Multiple Answers)

A location consists of the following:

  1. latitude
  2. longitude
  3. UTC timestamp
  4. Information on altitude, speed, and bearing
Question 7 True/False

LocationProvider Class is not an abstract superclass for location providers.

  1. True
  2. False
Question 8 Multiple Choice (Single Answer)

Which version of android introduced Widgets?

  1. 1.5
  2. 2.0
  3. 2.3
  4. None of the above
Question 9 Multiple Choice (Single Answer)

Users pick the widgets they want to display on their Home screens by

  1. sliding
  2. using Home Button
  3. touching & holding
  4. None of the above
Question 10 Multiple Choice (Multiple Answers)

Select the typical Android widgets main components

  1. bounding box
  2. frame
  3. widget's graphical controls and other elements
  4. menu
Question 11 Multiple Choice (Multiple Answers)

Buttons in widgets can have the following states

  1. stopped
  2. default
  3. pressed
  4. selected
Question 12 Multiple Choice (Multiple Answers)

To implement a custom widget using XML layout, we need additional files. Select the files to be ceated for a custome widget

  1. Java implementation file
  2. XML definition file
  3. Layout XML
  4. HTML file
Question 13 Multiple Choice (Multiple Answers)

What are the key classes for an App Widgets

  1. AppWidgetProvider
  2. AppWidgetProviderInfo
  3. AppWidgetManager
  4. AppWidgetDialer
Question 14 True/False

App Widgets provide users access to some of your application features directly from the Home screen (without the need to launch an activity)

  1. True
  2. False
Question 15 True/False

App Widgets are backed by a special kind of broadcast receiver that handles the App Widget lifecycle

  1. True
  2. False