Ruediger Jungbeck created CB-11301:
--------------------------------------

             Summary: Android Media Buttons only signalled after release
                 Key: CB-11301
                 URL: https://issues.apache.org/jira/browse/CB-11301
             Project: Apache Cordova
          Issue Type: Improvement
          Components: Android
            Reporter: Ruediger Jungbeck


The media button (on  Android headsets) issue events when pressed or released. 
There is a Cordova plugin that installs a BroadcastReceiver for Media Button 
intents. But this intents occur after the physical button has already been 
released (to distinguish short and long presses). This prevenets the use of the 
media button as a PTT (push to talk) kery. So there should be a handling for 
the media button that is similar to the handling of the volumeup/volumedown In 
onDispatchKeyEvent



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to