A journey in Android's BLE world
summary
Practical walkthrough of Android BLE behavior: permission splits (scan/advertise/connect), scanning quirks across OEMs, and why libraries smooth differences. Shows actual code patterns for scanning, filtering and connecting, using Nordic Semiconductor libraries and the Kotlin coroutines-based scanner, parsing raw characteristic bytes into booleans, and using DFU firmware updates for devices. Notes limits like about 20 connections per phone, unreliable background scans on many devices, and using iBeacon layout string or AltBeacon to range or monitor beacons for proximity and basic indoor positioning.
AI-written summary · about
chapters (19)
- 0:00Introduction to Bluetooth
- 1:49Bluetooth basics
- 3:13Classic vs Low Energy
- 6:46Generic Attribute Profile
- 9:13BLE permissions and scanning
- 13:06Challenges with BLE APIs
- 14:09Kotlin BLE library
- 15:54Background scanning strategies
- 16:58Connecting to BLE device
- 17:39Sending and receiving BLE data
- 20:08Parsing BLE data
- 21:09XLut library overview
- 21:31Debugging BLE devices
- 22:54Bluetooth beacons
- 24:20Beacon Library
- 27:48Background beacon monitoring
- 29:13Indoor localization
- 30:19Beacon development tools
- 30:39Q&A
related talks
32mAndroid iBeacon development and wearables integration
30m"Android Wear iBeacon development"
46mSpinning the Phisycal Web with Android and Bluetooth 5
21mConnecting the bean – The bumpy road of BLE on Android
46mBluetooth Low Energy on Android: Top Tips for the Tricky Bits
37mAndroid Programming for Bluetooth Beacons
19mWhat's all that hype about BLE?
51mCodelab: Optimizing Usage of Bluetooth Peripheral Devices
