O'Reilly logo

Android™ for Programmers: An App-Driven Approach by Michael Morgano, Abbey Deitel, Harvey M. Deitel, Paul J. Deitel

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

11. Route Tracker App: Google Maps API, GPS, LocationManager, MapActivity, MapView and Overlay

Image

Objectives

In this chapter you’ll:

• Test an app that uses GPS location data in the Android Emulator and use the Eclipse DDMS perspective to send sample GPS data to the emulator.

• Use the external Maps API framework and the MapActivity and MapView classes to display Google Maps™ generated by Google web services.

• Get a Google Maps™ API key unique to your development computer.

• Use location services and the LocationManager class to receive information on the device’s position and bearing (direction).

• Display the user’s route using an Overlay on a ...

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