Android Question detect Bluetooth headset keypress

noeleon

Active Member
Licensed User
How to detect Bluetooth headset keypress?

I tried this
B4X:
Sub Service_Start (StartingIntent As Intent) 
Broadcast.addAction("android.intent.action.MEDIA_BUTTON") 
Broadcast.SetPriority(2147483647) 
Broadcast.registerReceiver("") 
End Sub
from the example in BroadcastReceiver library but it does not work.
 

blikkk

New Member

I struggled with it for a week, it doesn’t work at all. Android 10.
Play store, MediaButton Interceptor, working Android all version.
Please, help!
 
Upvote 0

blikkk

New Member
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…