Best Practices for Bluetooth Development
summary
Android adds Bluetooth Low Energy support as API level 18 with the new BlueDroid stack; Nexus 4 and future Nexus devices ship with the APIs. The platform exposes GATT (characteristics, descriptors, services), scanning via StartLeScan, connect via connectGatt with async callbacks, and a GATT server API, but is central role only (no peripheral/broadcaster transmit yet). BLE throughput is ≈200 kb/s. Also adds AVRCP 1.3 metadata support. Battery tips: stop scans when found and avoid tight RF reconnect loops.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 3:37Bluetooth in Android
- 7:45Bluetooth Low Energy
- 12:56Bluetooth Low Energy Demo
- 15:22Bluetooth Low Energy Flow
- 16:09Discover Bluetooth Device
- 19:05Bluetooth Service
- 20:16Bluetooth API for Android
- 22:17Battery Tips
- 24:33AVR CP13
- 25:56Office Hours
- 26:59Questions
related talks
35mState of BLE on Android in 2022
46mBluetooth Low Energy on Android: Top Tips for the Tricky Bits
40mState of Bluetooth LE on Android in 2023
38mBluetooth LE for Modern Android Development
34mBluetooth Low Energy in Android: Getting it Done
42mAdvanced Bluetooth for Android Developers
32mAndroid iBeacon development and wearables integration
58mAdvanced Bluetooth® Technology - Under the APIs
