Show RSSI Values if Bluetooth LE Device Connected

188
July 20, 2019, at 10:10 PM

I have successfully connected to the BLE Devices. Next i want to show the rssi of that connected Devices. I am using existing project in github https://github.com/arpith20/BLEArduino. The project split up into DeviceScanActivity.java, DeviceControlActivity.java, BluetoothLeService.java and SimpleGattAttributes.java.

I don't know where to put the readRemoteRssi that i wanted to show as a Toast and in log activity. Hope you guys can help me out

Thanks

DeviceScanActivity.java https://github.com/arpith20/BLEArduino/blob/master/app/src/main/java/xyz/arpith/blearduino/DeviceScanActivity.java

SampleGattAttributes.java https://github.com/arpith20/BLEArduino/blob/master/app/src/main/java/xyz/arpith/blearduino/SampleGattAttributes.java

DeviceControlActivity.java https://github.com/arpith20/BLEArduino/blob/master/app/src/main/java/xyz/arpith/blearduino/DeviceControlActivity.java

BluetoothLeService.java https://github.com/arpith20/BLEArduino/blob/master/app/src/main/java/xyz/arpith/blearduino/BluetoothLeService.java

READ ALSO
Upload image file from Android Device to Laravel API

Upload image file from Android Device to Laravel API

I build the app using React-Native and I created API in Laravel for that projectNow when I install app on android phone using generated apk file I can't save image files to S3 storage

178
Is there any way to make my app wait for data to be retrieved from Firebase before continuing the code?

Is there any way to make my app wait for data to be retrieved from Firebase before continuing the code?

My app has to display a list of names on ListViewThose names are stored within Cloud Firestore in the following manner:

203
Is there a RN Number Picker working on android as a wheel?

Is there a RN Number Picker working on android as a wheel?

I'm building a React Native app, and I want my user to input a number of player and I ant to to be intuitive, i want a weel instead of writing it with the keyboeard

187
Populate Spinner with another spinner in RecyclerView Adapter

Populate Spinner with another spinner in RecyclerView Adapter

I have a recyclerView in my App, populating it with a list of student's data and I have Edit and Delete button attached to it, I have worked out the delete button, but Edit button has a popup, where a user can edit record of student's data, it has two spinners...

179