Thursday 27 November 2014

Android GPS, Location Manager Tutorial

One of the unique features of mobile applications is location awareness. Mobile users take their devices with them everywhere, and adding location awareness to your app offers users a more contextual experience. The location APIs available in Google Play services facilitate adding location awareness to your app with automated location tracking, geofencing, and activity recognition.
The Google Play services location APIs are preferred over the Android framework location APIs (android.location) as a way of adding location awareness to your app. If you are currently using the Android framework location APIs, you are strongly encouraged to switch to the Google Play services location APIs as soon as possible.
This class shows you how to use the Google Play services location APIs in your app to get the current location, get periodic location updates, look up addresses, create and monitor geofences, and detect user activities. The class includes sample apps and code snippets that you can use as a starting point for adding location awareness to your app.

If you are developing any location based or map application, you can make your app more smarter by finding user’s location automatically. For this you need to integrate GPS modules in your application. In this tutorial i explained how to work with GPS / Location API.

No comments:

Post a Comment