O'Reilly logo

Sams Teach Yourself Android™ Application Development in 24 Hours by Shane Conder, Lauren Darcey

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

Hour 14. Adding Support for Location-Based Services

In this hour, you add a new feature to the Been There, Done That! application—the ability for the user to set his or her favorite place in the world from the settings screen. The user can set this information in two ways: by using the current location provided by location-based services (LBS) on the handset or by supplying a place name that can be resolved into the corresponding GPS coordinates using the geocoding functionality provided in the Android SDK.

Designing the Favorite Place Feature

Mobile users are always on the go, and mobile applications ...

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