Hi
Fairly new to using B4A, so excuse me if this is a silly problem.
I've created a service to capture "android.bluetooth.device.action.ACL_CONNECTED" and then want to pick out the Device ID from the intent.
I've tried the code below, but that comes back as null.
ToastMessageShow(StartingIntent.GetExtra("android.bluetooth.device.extra.DEVICE"),True)
Using the following, does show that the detail is in the message:
ToastMessageShow(StartingIntent.ExtrasToString,True)
Bundle[{android.bluetooth.device.extra.DEVICE�:A4
E:A7:9C
F, android.bluetooth.device.extra.LINKTYPE= android.bluetooth.device.extra.DISCONNECTION_REASON=]
What am I doing wrong ?!
Thanks