O'Reilly logo

Advanced Android™ Application Development, Fourth Edition by Shane Conder, Lauren Darcey, Joseph Annuzzi Jr.

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

17. Using Location and Map APIs

Whether for safety or for convenience, incorporating location information, navigation, and mapping features into your project can make your application much more robust. In this chapter, you will learn how to leverage two different location services available for Android: the Android location services APIs and the Google location services APIs. You will learn how to determine the location of the device using both APIs. You will also learn how to translate raw location coordinates into descriptive location names—and how to do the reverse. Finally, we explore a couple of different methods for mapping and utilities that work with maps.

Tip

Many of the code examples provided in this chapter are taken from the SimpleLocation ...

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