Android Development - Widgets, Location & Device Administration
Test your knowledge of Android mobile development including App Widgets, Location-based services, and Device Administration API
Questions
If a device contains multiple enabled admin applications, the strictest policy is enforced by the Device Administration API
- True
- False
What are the various channels used to distribute Device Administration API on a user's device?
- Android Market
- Enabling non-market installation
- Distributing the application through other means, such as email or websites
- None of the above
Which component API is used to navigate between map locations?
- MapActivity
- MapView
- MapController
- None of the above
What are the packages included in the Location based API?
- Android.location
- com.google.android.map
- com.tcs.mobility
- None of the above
A class representing a geographic location sensed at a particular time is called
- Map Class
- Location Class
- Area Class
- All of the above
A location consists of the following:
- latitude
- longitude
- UTC timestamp
- Information on altitude, speed, and bearing
LocationProvider Class is not an abstract superclass for location providers.
- True
- False
Which version of android introduced Widgets?
- 1.5
- 2.0
- 2.3
- None of the above
Users pick the widgets they want to display on their Home screens by
- sliding
- using Home Button
- touching & holding
- None of the above
Select the typical Android widgets main components
- bounding box
- frame
- widget's graphical controls and other elements
- menu
Buttons in widgets can have the following states
- stopped
- default
- pressed
- selected
To implement a custom widget using XML layout, we need additional files. Select the files to be ceated for a custome widget
- Java implementation file
- XML definition file
- Layout XML
- HTML file
What are the key classes for an App Widgets
- AppWidgetProvider
- AppWidgetProviderInfo
- AppWidgetManager
- AppWidgetDialer
App Widgets provide users access to some of your application features directly from the Home screen (without the need to launch an activity)
- True
- False
App Widgets are backed by a special kind of broadcast receiver that handles the App Widget lifecycle
- True
- False