O'Reilly logo

Android in Action, Second Edition by Chris King, Robi Sen, W. Frank Ableson

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

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

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