# cepr/android-serialport-api

Accessing serial ports for Android

Repository: https://github.com/cepr/android-serialport-api
Canonical: https://ross.abutalabs.com/products/cepr-android-serialport-api
Homepage: http://code.google.com/p/android-serialport-api
Language: C
License Family: other
Last push: 2015-09-02T09:20:47+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5276, "days_push": 4018, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license, no_readme
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1304, forks 540 (observed 2026-08-28T04:04:18.560343+00:00)

## What it is
A small Android library with NDK/JNI native code for opening and reading/writing serial ports (RS-232/tty devices) on Android, plus a demo application. It was originally hosted on Google Code and has not been updated since 2015.

## Use cases
- communicate with serial devices from an Android app
- read data from RS-232 hardware on Android
- open /dev/ttyS0 on Android
- connect Arduino to Android via serial
- access tty serial port in Android NDK

## When to choose
- you need raw serial port access on Android with a minimal, proven native implementation
- you're targeting old Android versions and don't need recent maintenance

## When to avoid
- you need actively maintained code or support for newer Android security restrictions
- you want USB-serial adapters via the Android USB host API rather than native tty devices

## Facets
- artifact type: library
- maturity: abandoned
- function: sdk, file-system
- domain: android-tools, embedded-systems, hardware
- platform: cpp, c
- tags: serial-port, rs232, ndk, hardware-access, android

## Member repositories
- cepr/android-serialport-api (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:18.560343+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-30T04:51:06.839108+00:00, confidence not recorded.
  - homepage: http://code.google.com/p/android-serialport-api (fetched 2026-08-29T12:09:00.857088+00:00, sha 958febdf44c5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
