Android Maps API and Data Sharing
Covers Android Maps API concepts including MapView, GeoPoint, overlays, and location services, plus ContentProvider and persistent data sharing mechanisms in Android platform development.
Questions
In Android, there are two options to make your data public i. Create your own content provider ii. Add data to an existing Content Provider, if one exist Choose the correct option below.
- True
- False
What are the different mechanisms to share persistent data among processes?
- Files
- Database
- Android Properties
- Both a & b above
- a, b and c above
- None of above
Content URI is denoted by content://<>/<>/<> where A, B and C are - A: Authority, B: Data_Path, C: Id Value
- True
- False
Content provider data can be modified in various ways
- Adding new records
- Adding new values to existing records
- Batch updating existing records
- Both a & b above
- a, b and c above
- None of above
A query returns a set of zero or more records. The names of the columns, their default order, and their data types are common to each content provider.
- True
- False
Following is/are the abstract method(s) declared in the ContentProvider class?
- Query()
- Update()
- Create()
- Insert()
- a, b and c above
- a, b and d above
_______ class is a View that displays the actual map.
- MapView
- MapActivity
- MapController
- LocationOverlay
- None of above
__________let you add graphical layers over a MapView.
- Bitmap
- Overlay
- Canvas
- None of above
Any focused Widget stay focused, when the user enters the touch Mode.
- True
- False
Android has a native Overlay, ___________ that can be used to display the current position and orientation of the device.
- LocationOverlay
- MyLocationOverlay
- MapOverlay
- None of above
_____________class provide functionality to get the MapView which is used to display the map.
- MapController
- Overlay
- MapActivity
- None of above
Google Maps library is not a part of the standard Android library, you must declare it in the Android Manifest.
- True
- False
The class _________ is the super class of the different location providers which deliver the information about the current location of the device.
- LocationProvider
- LocationManager
- LocationListener
- None of above
_________ is a position on the map described by latitude and longitude.
- LocationPoint
- GeoPoint
- Overlay
- Canvas
- None of above
Each Thread has an integer priority that basically determines the amount of CPU time the Thread gets.
- True
- False
You can not add more than one overlay onto a single map.
- True
- False
By default, the Map View will show _________ map.
- Satellite View
- Traffic View
- Street View
- None of above
Threads in the same VM interact & synchronize through shared Object.
- True
- False
You also need access to the Internet in order to retrieve map tiles, so you must also request the INTERNET permission by adding following element in the Manifest File. Choose the most appropriate answer.
- True
- False
________ is called the surface being drawn on.
- Bitmap
- Canvas
- Overlays
- Paint
- None of above