Hello, have someone got a complete example to check if headphone switch button is pressed?
I very confused with the manifest, tested an erel example but then not work anymore.
Yes Many ThankS! works fine! but with the activity right button on the phone, i need sense the jack button on headphone connector, similar to microphone function on earphones
Thanks Erel, not work to me with keypress, i think is that more a mic state than a Keypress, the routine of change internal mic to external, when u click the headphone make some resistance that is detected by Os and change the mic to external.