# android/connectivity-samples

Multiple samples showing the best practices in connectivity on Android.

Repository: https://github.com/android/connectivity-samples
Canonical: https://ross.abutalabs.com/products/connectivity-samples
Language: Java
License: Apache-2.0
License Family: permissive
Archived: true
Last push: 2025-07-10T15:23:23+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 31, release rhythm 35, longevity 100
- inputs: {"age_days": 2553, "days_push": 419, "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 1786, forks 1350 (observed 2026-08-28T04:05:36.152066+00:00)

## What it is
A collection of Android Studio sample projects demonstrating best practices for connectivity features on Android, such as Bluetooth LE. The repository has been deprecated and is no longer maintained.

## Use cases
- learn how to scan for BLE devices on Android
- example code for Bluetooth LE GATT connections
- sample apps for Android Wi-Fi and connectivity APIs
- reference for writing connectivity apps in Android Studio
- find starting code for Android network features

## When to choose
- you want historical reference code for Android connectivity APIs
- you need a starting point for a Bluetooth LE app and don't mind porting to current APIs

## When to avoid
- you need actively maintained sample code
- you want samples targeting the latest Android APIs
- you need production-ready connectivity implementations

## Facets
- artifact type: learning-resource
- maturity: abandoned
- function: developer-tools, networking
- domain: android-tools, developer-tools, tutorials
- platform: -
- tags: android-samples, connectivity, bluetooth, wifi, sample-code, deprecated, android, mobile

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

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