P
P
Perkovec2014-08-19 00:25:25
Java
Perkovec, 2014-08-19 00:25:25

Tracking a click on a headphone button?

Some headphones have 1 button, usually it accepts, ends the call and calls google search. How can I programmatically catch this click? PS Android development

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey, 2014-08-19
@Perkovec

ACTION_MEDIA_BUTTON . You just hang a handler on this intent and that's it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question