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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.