Chapter 11. Location, location, location

This chapter covers

  • Working with LocationProvider and LocationManager
  • Testing location in the emulator
  • Receiving location alerts with LocationListener
  • Drawing with MapActivity and MapView
  • Looking up addresses with the Geocoder

Accurate location awareness makes a mobile device more powerful. Combining location awareness with network data can change the world—and Android shines here. Other platforms have gained similar abilities in recent years, but Android excels with its easy-to-use and popular location API framework based on Google Maps.

From direct network queries to triangulation with cell towers and even satellite positioning via GPS, an Android-powered device has access to different types of

Get Android in Action, Second 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.