Переглядів 25,382
In this tutorial I will show you how you can connect to a BLE sensor/device from your Android Applikation using Android Studio and Kotlin. We will build a simple UI which refreshes every second to update the values retrieved from a BLE sensor. You will also see how to properly handle all necessary permissions and check for the Bluetooth state during runtime.
00:00 Introduction
01:51 Dependencies
2:42 Navigation and first screen
22:20 BLE Service
1:04:58 Viewmodel for state management
1:13:32 Final screen for updating BLE values
Initial project:
github.com/MatthiasKerat/BLET...
Final project:
github.com/MatthiasKerat/BLET...