Hi,
Trying to use the broadcastreceiver and then getting the signalstrength in the event but it does not work.
I try this:
Sub BroadcastReceiver_OnReceive (Action As String)
Dim Intent1 As Intent
Dim signal As String
Intent1.Initialize(Action, "")
signal = Intent1.GetExtra ("BluetoothDevice.EXTRA_RSSI")
ToastMessageShow(signal,False)
'can only abort when sendOrderedbroadcast is called.
Broadcast.AbortBroadcast
End Sub
I know for sure the device has the RSSI available because another app of another developer shows me the signal strength.
Cheers,
Trying to use the broadcastreceiver and then getting the signalstrength in the event but it does not work.
I try this:
Sub BroadcastReceiver_OnReceive (Action As String)
Dim Intent1 As Intent
Dim signal As String
Intent1.Initialize(Action, "")
signal = Intent1.GetExtra ("BluetoothDevice.EXTRA_RSSI")
ToastMessageShow(signal,False)
'can only abort when sendOrderedbroadcast is called.
Broadcast.AbortBroadcast
End Sub
I know for sure the device has the RSSI available because another app of another developer shows me the signal strength.
Cheers,