Chapter 25. Integrating Google Maps and GPS Locations

In this chapter, we are going global and even briefly into space. We will see how the Android API works with the GNSS (Global Navigation Satellite System) to provide location data. We can then use this data to plot a position on Google Maps.

In this chapter, we will:

  • Learn the very basics of GPS
  • Build a GPS mini app
  • Learn about Google Maps
  • Connect with the Google Maps server to get map data

Let's start with a quick overview of GPS.

Global Positioning System

GPS is one of those technologies that never fails to amaze you when you sit and think about how it works. When you also consider that a phone you can put in your pocket is capable of using it too, it is even more mind-numbingly extraordinary.

Tip ...

Get Android Programming for Beginners 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.