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, wrong-side-of-the-street detection, geofencing, and activity recognition.

Development resources

Declare permissions and make requests depending on the use cases of your app's features.
Use the Fused Location Provider to deliver more relevant location information to users.
Improve the battery efficiency of your users' devices. Follow the guidelines related to background location limits.
Plot locations of interest on a map, and give users control over what they see on the map.

Latest news

In order to launch new features on their Android app, Headspace spent 8 months refactoring their architecture and rewriting in Kotlin. Learn how this reboot helped their business grow.

SmartNews helps millions of people discover their world everyday by sharing timely news from a diverse set of news sources.

Twitter is one of the most widely used social media platforms where users can see what’s happening in the world at any given moment.

The Google Home app helps set up, manage, and control your Google Home, Google Nest, and Chromecast devices—plus thousands of connected home products like lights, cameras, thermostats, and more.

Additional resources

To learn more about requesting access to location information in your app, see the following additional resources:

Samples

Location samples are part of Android OS Platform Samples . Refer to the location module in Android OS platform Samples and follow instructions on how to run samples.
Sample to demonstrate best practices for requesting location permissions.
Sample to demonstrate best practices for fetching user's current location.
Sample to demonstrate best practices for recieving location updates.
Sample to demonstrate how to access location or recieve location updates when app is in background.
Sample to demonstrate how to create and monitor geofences.
Sample to demonstrate best practices for user activity Recognition.