Hello,
How to detect Bluetooth speaker key press and how to set an action after pressing?
I tried a lot of instructions found in the forum but not yet reached to solution:
Some of threads followed:
How to detect Bluetooth headset keypress? I tried this 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...
Hi All Does anyone have any sample code, I image it would use JavaObjects, showing how to use the MediaSessions Class. I am specifically referring to http://developer.android.com/reference/android/media/session/MediaSession.html#setCallback%28android.media.session.MediaSession.Callback%29 to...
It's good that you show what you tried, but the rest of us have no clue why it didn't work as we can't read your thoughts. Always make sure to write what you tried, and what happened. It's good to be explicit and add an attached project, and in your case I would also add information on what bluetooth speaker you're working with.