# licheedev/Android-SerialPort-API

Fork自Google开源的Android串口通信Demo，修改成Android Studio项目

Repository: https://github.com/licheedev/Android-SerialPort-API
Canonical: https://ross.abutalabs.com/products/android-serialport-api
Homepage: https://code.google.com/archive/p/android-serialport-api/
Language: Java
License: Apache-2.0
License Family: permissive
Topics: android, serialport
Last push: 2024-09-06T03:27:13+00:00

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

## Adoption (not part of the score)
Stars 1482, forks 413 (observed 2026-08-28T04:04:51.140965+00:00)

## What it is
An Android library for serial port (RS232/UART) communication, forked from Google's open-source android-serialport-api demo and modernized into an Android Studio project. It provides a SerialPort class with configurable baud rate, data bits, parity, and stop bits, requiring a rooted device with su access.

## Use cases
- communicate with serial devices from an Android app
- read and write to a UART port on Android
- configure serial port parity, data bits, and stop bits in Java
- connect Android tablet to industrial hardware over RS232
- Android library for serial port communication

## When to choose
- you need raw serial port I/O on a rooted Android device
- you want a maintained Android Studio-ready fork of the classic Google serial port demo
- you need configurable serial parameters like 7E2 or 8N1

## When to avoid
- your device is not rooted, since su access is required
- you need USB-based serial adapters rather than native UART device files
- you target non-Android platforms

## Facets
- artifact type: library
- maturity: active
- function: sdk, developer-tools
- domain: android-tools, hardware, developer-tools
- platform: jvm
- tags: serial-port, android-library, hardware-communication, root-access, android

## Member repositories
- licheedev/Android-SerialPort-API (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:51.140965+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:34:07.688774+00:00, confidence not recorded.
  - readme: https://github.com/licheedev/Android-SerialPort-API (fetched 2026-08-28T04:04:51.140965+00:00, sha 9ef9b8b8cbee)
  - homepage: https://code.google.com/archive/p/android-serialport-api/ (fetched 2026-08-29T11:40:39.982703+00:00, sha 4518c8b1eedd)
- Data as of 2026-08-30T08:39:29.467469+00:00.
