How To Get The Rssi Of Bluetooth Device In Real Time In Android 4.3?
I am developing an application where I have to connect to Bluetooth Low Energy device on Android 4.3. When I push the button, I can get the RSSI of the BLE device after connect to
I have solve it.
modify the code of following:
finalRunnablerunnable=newRunnable() {
@Overridepublicvoidrun() {
// TODO Auto-generated method stub
mBluetoothLeService.readRemoteRssi();
mHandler.postDelayed(this, 1000);
}
};
and add mHandler.postDelayed(runnable, 1000);
in onCreate
Post a Comment for "How To Get The Rssi Of Bluetooth Device In Real Time In Android 4.3?"