# googlearchive/android-RuntimePermissions

This sample has been deprecated/archived. Check this repo for related samples:

Repository: https://github.com/googlearchive/android-RuntimePermissions
Canonical: https://ross.abutalabs.com/products/android-runtimepermissions
Homepage: https://github.com/android/permissions-samples
Language: Java
License: Apache-2.0
License Family: permissive
Archived: true
Last push: 2019-09-26T22:21:26+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4115, "days_push": 2533, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1248, forks 391 (observed 2026-08-28T04:04:07.809723+00:00)

## What it is
An archived Android sample project from Google demonstrating how to request and handle runtime permissions on Android. It is read-only and no longer maintained; successor samples live in the android/permissions-samples and platform-samples repositories.

## Use cases
- learn how to request runtime permissions on Android
- example of handling permission denial and rationale in an Android app
- sample code for Android M runtime permission API
- understand best practices for Android permissions
- reference for migrating legacy permission code

## When to choose
- you need a historical reference for the legacy Java runtime permissions API
- you are maintaining an old Android codebase that uses this pattern

## When to avoid
- you want up-to-date permission samples - use android/platform-samples instead
- you need production-ready or maintained code
- you target modern Android APIs likeActivityResult API patterns

## Facets
- artifact type: learning-resource
- maturity: abandoned
- function: auth, developer-tools, sdk
- domain: mobile-development, android-tools, security, tutorials
- platform: jvm
- tags: android-permissions, runtime-permissions, sample-code, archived, kotlin, java, android, mobile

## Member repositories
- googlearchive/android-RuntimePermissions (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:07.809723+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T05:07:52.500177+00:00, confidence not recorded.
  - readme: https://github.com/googlearchive/android-RuntimePermissions (fetched 2026-08-28T04:04:07.809723+00:00, sha 480fe85cf28e)
  - homepage: https://github.com/android/permissions-samples (fetched 2026-08-29T12:18:49.931660+00:00, sha 0303e36941bc)
- Data as of 2026-08-30T08:39:29.467469+00:00.
