Using Bluetooth Earbuds microphone and buttons
Are there any guides or examples for using the buttons and microphone with standard bluetooth headphones?
https://developer.android.com/guide/topics/media-apps/mediabuttons
The documentation says this should work for bluetooth headphones, but I can't seem to catch a keyevent when pressing buttons on the headphones, but do when pressing the volume buttons on the phone itself.
And while audio plays automatically through my headphones when bluetooth is connected, any sort of recording always uses the phones mic instead of the mic in the headphones.
Posted Jul 24, 2019, 7:46 PM UTC
00