Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
“Location, location, location,” as they say in real estate, could also be the mantra for the future of mobile computing. Android supports readily available location information and includes smart-mapping APIs and other location-related utilities.
In this chapter, we explored the location and mapping capabilities of the Android platform. You built an application that acquired a LocationManager and LocationProvider, to which you attached several LocationListener instances. You did this so that you could keep your application informed about the current device location by using updates delivered to your listeners. Along with the LocationListener, we also briefly discussed several other ways to get location updates from the Android platform.