Ross ROSS = Recommend OSS · open-source software intelligence for agents

android/security-samples resource

Multiple samples showing the best practices in security APIs on Android. observed · 2026-08-28

github.com/android/security-samples · Kotlin · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

75/100

  • Activity 96
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

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: 2598
  • days_rel: n/a
  • days_push: 26
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1029 stars · 448 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

An official Google repository of Android sample apps demonstrating security best practices, including the Play Integrity API, biometric login, and DirectBoot device-protected storage. Written in Kotlin, it serves as reference code for integrating Android security APIs.

Use cases

  • learn how to integrate the Play Integrity API end to end
  • add biometric authentication to an Android app
  • store data in device-protected storage with DirectBoot
  • find canonical examples of Android security API usage
  • set up APK signing for developer verification
  • follow best practices for Android app security

When to choose

  • you are building an Android app and need reference implementations of security APIs
  • you want official, canonical sample code for biometrics or Play Integrity
  • you are learning Android security best practices from maintained examples

When to avoid

  • you need a production-ready library rather than sample code
  • you rely on the deprecated samples (BiometricLogin, DirectBoot) which are being deleted in March 2026
  • you are not developing for Android

Facets

learning-resource · maturity active

security auth cryptography security android-tools developer-tools tutorials jvm android-security sample-code biometrics play-integrity keystore google-official android

1 source

Member repositories

RepositoryRoleHealth v2
android/security-samplesmain75

For agents

markdown · JSON · MCP: product_card(name="android/security-samples")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem