Bluetooth - events

pawel2420

Member
Licensed User
Longtime User
I run this code:
B4X:
Dim i As Intent
i.Initialize("android.bluetooth.adapter.action.REQUEST_DISCOVERABLE", "")
i.PutExtra("android.bluetooth.adapter.extra.DISCOVERABLE_DURATION", 15)
StartActivity(i)

Sytem asks the user for permission. User clicks OK and the device switch to the discoverable mode.
How to detect when the device is again switched to the standard mode ?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…