Mapping on Android

As enjoyable as it is to have data that tells you where your phone is, that data begs to be visualized. Mapping was probably the first truly killer app for smartphones, which is why Android has had mapping since day one.

Mapping is big, complicated, and involves an entire support system of servers to provide base map data. Most of Android can stand alone as part of the Android Open Source Project. Maps, however, cannot.

So while Android has always had maps, maps have also always been separate from the rest of Android’s APIs. The current version of the Maps API, version 2, lives in Google Play Services along with the Fused Location Provider. So in order to use it, the same requirements apply as you saw in the section ...

Get Android Programming: The Big Nerd Ranch Guide, 2nd Edition 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.