Android Bluetooth (BLE) and IoT Development Guide

Short answer: this is Codeplayon’s guide to Bluetooth Low Energy (BLE) and IoT development on Android. It collects practical, code-first tutorials for connecting Android apps to sensors, data loggers, inverters and other hardware.

Start here: BLE on Android

New guides are added every week on BLE scanning, notifications versus indications, background connections with foreground services, Jetpack Compose permissions, Kotlin Flow wrappers and sending large data over BLE.

IoT and device communication

Practical notes on talking to hardware from Android: Modbus RTU frames and CRC, reading data logger and inverter registers, and moving data between a device, a phone and the cloud. Browse all posts in the IoT category.

Android fundamentals used in these guides

Who writes this

Written by Parmit Singh, an Android developer with about nine years of experience building production mobile apps. See the editorial policy for how we test and update content.

FAQ

Do I need special permissions for BLE on Android?

Yes. Android 12 and higher use BLUETOOTH_SCAN and BLUETOOTH_CONNECT at runtime. Older versions need a location permission for scanning.

Is BLE the same as classic Bluetooth?

No. BLE is a low-power protocol built around GATT services and characteristics, suited to sensors and small data. Classic Bluetooth is used for audio and file transfer.