location-samples icon indicating copy to clipboard operation
location-samples copied to clipboard

Multiple samples showing the best practices in location APIs on Android.

Google Play Location Samples

The location and context APIs harness the sensors and signals of mobile devices to provide awareness of user actions and their environment, enabling delightful and engaging experiences that simplify user interactions, provide assistance, and help users to better understand themselves.

This repo contains the following samples:

Prerequisites

  • Android API Level >v9
  • Android Build Tools >v21
  • Google Support Repository

Getting Started

These samples use the Gradle build system. To build a sample, use the "gradlew build" command or use "Import Project" in Android Studio.

Support

  • Stack Overflow: http://stackoverflow.com/questions/tagged/google-play-services

If you've found an error in these samples, please file an issue: https://github.com/android/location-samples/issues

Patches are encouraged, and may be submitted according to the instructions in CONTRIBUTING.md.