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.
Note: The documentation here uses the Google Play services location APIs over the Android framework APIs (android.location). To setup your app to access these APIs, read Set Up Google Play Services.