Understanding the Mapping Package

As we mentioned, the mapping APIs are one of the components of Android's location-based services. The mapping package contains everything you'll need to display a map on the screen, handle user interaction with the map (such as zooming), display custom data on top of the map, and so on.

You may have noticed that your Android SDK Manager shows Google API packages in addition to the Android SDK platforms. The Google API packages contain the mapping API jar file, so to build any applications with maps requires one of these. You will need to install one of these packages and then specify it as your Android build target when creating a new application.

The first step to working with this package is to display a map. ...

Get Pro Android 4 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.