Learning Android™ Application Programming: A Hands-On Guide to Building Android Applications
by James Talbot, Justin McLean, Jorge Hernandez
Displaying Google Maps
Now that On Your Bike knows where the user is, the next step is to display that information on a map. You can integrate Google Maps into your app so that users can display and draw on maps, place markers on them, and generally interact with them. Google Maps is part of the Google Play services SDK. The first version of the Google Maps API (not part of Google Play but a separate library) has now been discontinued, so make sure you use the second version as described here. The services SDK communicates with Google services via a service in the Android OS. This service is updated via Google Play automatically (and not by carriers), so you can be reasonably sure that most devices will contain the latest version.
The first task ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access