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 ...

Get Android in Practice 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.