android-classic-bluetooth-implementation
Installation
SKILL.md
Android Classic Bluetooth Implementation
Use this skill to implement Android Classic Bluetooth features with the correct RFCOMM model: adapter setup, paired-device lookup or discovery, client or server socket connection, stream-based data transfer, and deterministic cleanup.
When to Use This Skill
- Add Classic Bluetooth support to an Android app.
- Implement paired-device selection or nearby device discovery.
- Connect to a remote device over RFCOMM.
- Host a server socket and accept incoming connections.
- Transfer data through
BluetoothSocketinput and output streams. - Review Classic Bluetooth code for permission, discovery, pairing, threading, or socket lifecycle issues.
Do Not Use This Skill When
- The target device communicates through BLE services and characteristics.
- The feature depends on GATT service discovery, characteristic reads, writes, notifications, or indications.
In those cases, switch to the BLE workflow instead of forcing a GATT device into an RFCOMM socket design.