O'Reilly logo

Pro Android 4 by Satya Komatineni, Dave MacLean

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required