Logo Icon Logo
A Crowd-sourced Cookbook on Writing Great Android® Apps
GitHub logo Twitter logo OReilly Book Cover Art

Introduction: Location-Aware Applications

In Chapter: Location and Map Applications
Author: Ian Darwin ('idarwin')
Published? true
FormatLanguage: WikiFormat


Not that long ago, GPS devices were either unavailable, expensive, or cumbersome. Today, almost every smartphone has a GPS receiver, and many digital cameras do too. GPS is well on its way to becoming truly ubiquitous in devices. The organizations that provide map data have not been unaware of this trend. Indeed, OpenStreetMap exists and provides its "free, editable map of the world" in part because of the rise of consumer GPS devices - most of its map was made by enthusiasts. Google gets much of its data from commercial mapping services, but in Android, Google has been very driven by the availability of GPS receivers in Android devices. This chapter thus concentrates on the ins and outs of using Google Maps and OpenStreetmap in Android devices.