/location-samples

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

Primary LanguageKotlinApache License 2.0Apache-2.0

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

  • 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

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.