I'm developing an application that control the middle button of headphone (maybe it calls play/pause button). But I detect the plug but I don't know to control the button click. How can I do? Thanks.
P.S. Sorry for my English :)
I'm developing an application that control the middle button of headphone (maybe it calls play/pause button). But I detect the plug but I don't know to control the button click. How can I do? Thanks.
P.S. Sorry for my English :)