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 ...
Get Learning Android™ Application Programming: A Hands-On Guide to Building Android Applications 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.