O'Reilly logo

Android in Practice by Michael Galpin, Charlie Collins, Matthias Kaeppler

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 10. Location is everything

In this chapter

  • Using latitude and longitude
  • Finding the user’s current location
  • Building a map-based application

There isn’t a parallel of latitude but thinks it would have been the equator if it had had its rights.

Mark Twain

One of the biggest factors in the appeal of smartphones is their location-awareness. It’s incredible to have a device you carry around in your pocket that can tell you exactly where you are on the planet. Thanks to brilliant engineers, science fiction is now reality. Yet, modern mobile devices take the wonder even further. Beyond pinpointing location, they provide access to a worldwide web of data, device sensors, and a market of inventions and ideas.

Developers have used Android’s ...

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