I am trying to use the the Android Media Button in an application (on Android 4.4.2) as PTT (push to talk) button.
I am able to get the key pressed and key up events for short key presses (although they seem to occur shortly after each other when the key is already released) in my MediaButtonEventReceiver.
But I get no event at all when I press the media button for a longer time.
NB: I have already deinstalled the Google Speech Search.
Is there a way to get the media button events when they actually occur (ie without delay and for longer presses)?
I do not need the Media Player or Google Search to work on the device.