android/location-samples resource
Multiple samples showing the best practices in location APIs on Android. observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4342
- days_rel: n/a
- days_push: 1106
- n_releases_24m: 0
Adoption not part of the score
2699 stars · 2713 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A collection of Android sample apps demonstrating Google Play Services location and context APIs, including geofencing, background location updates, activity recognition, and the Sleep API, written in Kotlin and Java. The repository is deprecated and no longer maintained, with samples moved to the android/platform-samples repo.
Use cases
- learn how to get background location updates on android
- android geofencing example code
- detect user activity like walking or driving on android
- convert device location to address with geocoding on android
- sample code for android awareness api
- track user sleep activity with android sleep api
When to choose
- you need reference code for Android location APIs and don't mind it being archived
- you're targeting older Android APIs and want proven sample patterns
When to avoid
- you want actively maintained samples - use android/platform-samples instead
- you need production-ready code rather than educational examples
Facets
learning-resource · maturity abandoned
geospatial sdk developer-tools mobile-development android-tools tutorials jvm location-apis sample-code google-play-services geofencing activity-recognition deprecated maps android mobile
1 source
- readme: https://github.com/android/location-samples · fetched 2026-08-28 · 595ea5d6689f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| android/location-samples | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="android/location-samples")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem