This is a demo project that is used for demonstrating how to work with Bluetooth low energy devices in Android 4.3. This demo targets heart monitors specifically but the code can be reused and adjusted for any type of project looking to work with Bluetooth low energy devices..
HeartRateBluetoothDemo is hosted in the following web site
https://github.com/JeremiahStephenson/HeartRateBluetoothDemo
If you think the Android project HeartRateBluetoothDemo listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table is the detailed list of HeartRateBluetoothDemo.
Item | Value |
---|---|
Java File Count | 12 |
Target SDK Version | 18 |
Minimum SDK Version | 18 |
Activity Count | 1 |
Fragment Count | 2 |
jar files used | eventbus.jar graph.jar |
Required Permissions | android.permission.BLUETOOTH android.permission.BLUETOOTH_ADMIN |
HeartRateBluetoothDemo has the following Java source files.
com.rain.android.heartratemonitor.MainActivity.java com.rain.android.heartratemonitor.bluetoothLE.BlueToothLEEvent.java com.rain.android.heartratemonitor.bluetoothLE.BluetoothLeService.java com.rain.android.heartratemonitor.bluetoothLE.GattAttributes.java com.rain.android.heartratemonitor.fragments.HeartRateFragment.java com.rain.android.heartratemonitor.fragments.LogFragment.java com.rain.android.heartratemonitor.monitor.BasicHeartRateProvider.java com.rain.android.heartratemonitor.monitor.HeartRateConstants.java com.rain.android.heartratemonitor.monitor.HeartRateEvent.java com.rain.android.heartratemonitor.utilities.BluetoothLEUtils.java com.rain.android.heartratemonitor.views.BpmGraphView.java com.rain.android.heartratemonitor.views.SmoothLineGraphView.java