It consists on Android application able to connect and communicate via BLE to ESP32 device. Source code for ESP32 device is available here: https://github.com/MpDev89/ESP32_BLE.git. Application is designed like BLE peripheral capable to read data from environmental sensing service composed from three characteristics (temperature, humidity and solar radiation).
- ✅ Application layout designed with main drawer
- ✅ Unit interface for main page
- ✅ Unit interface for device bonding
- ✅ Unit interface for data reading
- ✅ BroadcastReceiver for bonding procedure
- ✅ BluetoothGattCallback for device bonding, services discovering, characteristics reading and descriptor writing
- ✅ GattUpdateReceiver to handle the main gatt updating
- Toolchain: Android Studio Narwhal 4 Feature Drop | 2025.1.4 Build #AI-251.27812.49.2514.14217341, built on October 6, 2025 Runtime version: 21.0.8+-14018985-b1038.68 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Toolkit: sun.awt.windows.WToolkit Windows 11.0 Kotlin plugin: K2 mode
- Hardware: Smartphone Android
- Programming Interface: USB TYPE C
- Languages: Java
- Framework: none
- Libraries: see "build.gradle.kts" file
Your smartphone
- Install Android Studio Narwhal 4
- Open existing project
Clone the repository:
git clone https://github.com/MpDev89/ESP32_IoT_AndroidApp.git
cd project-nameApplication can be integrated with simple setup with ESP32 device. or using IoT embedded application. Main page layout:
Connection to device can be managed in this layout clicking on item from device list.
Measure layout permit to read characteristic value transmitted from server.


