# android/storage-samples

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

Repository: https://github.com/android/storage-samples
Canonical: https://ross.abutalabs.com/products/storage-samples
Language: Kotlin
License: Apache-2.0
License Family: permissive
Topics: samples, kotlin
Archived: true
Last push: 2025-08-29T19:43:40+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 39, release rhythm 35, longevity 100
- inputs: {"age_days": 2690, "days_push": 369, "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 1649, forks 632 (observed 2026-08-28T04:05:16.765570+00:00)

## What it is
A collection of Android Studio sample projects demonstrating best practices for storage APIs on Android, including file saving, key-value data, content providers, and the Storage Access Framework. The repository has been deprecated and is no longer maintained.

## Use cases
- learn how to save files on Android
- understand the Storage Access Framework
- see examples of content providers
- learn key-value storage patterns on Android
- share files between Android apps
- print files from an Android app

## When to choose
- you need reference code for Android storage APIs on older Android versions
- you want to study SAF or content provider patterns from official samples

## When to avoid
- you need up-to-date samples for current Android storage APIs
- you want maintained code or support
- you need production-ready storage solutions

## Facets
- artifact type: learning-resource
- maturity: abandoned
- function: file-system, developer-tools
- domain: android-tools, mobile-development, developer-tools, tutorials
- platform: jvm
- tags: android-samples, storage-apis, storage-access-framework, content-providers, deprecated, android

## Member repositories
- android/storage-samples (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:16.765570+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-30T03:45:07.607834+00:00, confidence not recorded.
  - readme: https://github.com/android/storage-samples (fetched 2026-08-28T04:05:16.765570+00:00, sha eefcf2eeffcb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
