Android Question bluetooth device discoverable automatic response ?

laviniut

Active Member
Licensed User
Longtime User
Can I make an automatic response to bluetooth device discoverable action ? Maybe with reflection object ?
B4X:
Dim i As Intent
    i.Initialize("android.bluetooth.adapter.action.REQUEST_DISCOVERABLE", "")
    i.PutExtra("android.bluetooth.adapter.extra.DISCOVERABLE_DURATION", 300)
I mean i don't want to start the activity for this intent but i need to send an automatic "yes" response.
How can i do that ?
 
Top