P pawel2420 Member Licensed User Longtime User Jun 20, 2012 #1 I run this code: Code: 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 ?
I run this code: Code: 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 ?
Erel B4X founder Staff member Licensed User Longtime User Jun 21, 2012 #2 No event is raised when the discoverable process completes. Upvote 0