Home

Awesome

Warning This sample has been deprecated and is no longer being maintained.

Find the new location samples in the new platform-samples repo.

Google Play Location & Context 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

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

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.

License

These samples are distributed under the terms of the Apache License (Version 2.0). See the license for more information.