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.

20 Questions Published

Questions

Question 1 True/False

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.

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

What are the different mechanisms to share persistent data among processes?

  1. Files
  2. Database
  3. Android Properties
  4. Both a & b above
  5. a, b and c above
  6. None of above
Question 3 True/False
  1. True
  2. False
Question 4 Multiple Choice (Single Answer)

Content provider data can be modified in various ways

  1. Adding new records
  2. Adding new values to existing records
  3. Batch updating existing records
  4. Both a & b above
  5. a, b and c above
  6. None of above
Question 5 True/False

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.

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

Following is/are the abstract method(s) declared in the ContentProvider class?

  1. Query()
  2. Update()
  3. Create()
  4. Insert()
  5. a, b and c above
  6. a, b and d above
Question 7 Multiple Choice (Single Answer)

_______ class is a View that displays the actual map.

  1. MapView
  2. MapActivity
  3. MapController
  4. LocationOverlay
  5. None of above
Question 8 Multiple Choice (Single Answer)

__________let you add graphical layers over a MapView.

  1. Bitmap
  2. Overlay
  3. Canvas
  4. None of above
Question 9 True/False

Any focused Widget stay focused, when the user enters the touch Mode.

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

Android has a native Overlay, ___________ that can be used to display the current position and orientation of the device.

  1. LocationOverlay
  2. MyLocationOverlay
  3. MapOverlay
  4. None of above
Question 11 Multiple Choice (Single Answer)

_____________class provide functionality to get the MapView which is used to display the map.

  1. MapController
  2. Overlay
  3. MapActivity
  4. None of above
Question 12 True/False

Google Maps library is not a part of the standard Android library, you must declare it in the Android Manifest.

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

The class _________ is the super class of the different location providers which deliver the information about the current location of the device.

  1. LocationProvider
  2. LocationManager
  3. LocationListener
  4. None of above
Question 14 Multiple Choice (Single Answer)

_________ is a position on the map described by latitude and longitude.

  1. LocationPoint
  2. GeoPoint
  3. Overlay
  4. Canvas
  5. None of above
Question 15 True/False

Each Thread has an integer priority that basically determines the amount of CPU time the Thread gets.

  1. True
  2. False
Question 16 True/False

You can not add more than one overlay onto a single map.

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

By default, the Map View will show _________ map.

  1. Satellite View
  2. Traffic View
  3. Street View
  4. None of above
Question 18 True/False

Threads in the same VM interact & synchronize through shared Object.

  1. True
  2. False
Question 19 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.

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

________ is called the surface being drawn on.

  1. Bitmap
  2. Canvas
  3. Overlays
  4. Paint
  5. None of above