cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bowser (JIRA)" <>
Subject [jira] [Assigned] (CB-913) Refactor Key Press Overrides on Android
Date Tue, 19 Jun 2012 23:56:42 GMT


Joe Bowser reassigned CB-913:

    Assignee: Filip Maj  (was: Joe Bowser)

OK, I've added the following to CordovaWebView: 

 * Volume Up and Down should work
 * Legacy Back Button should work
 * Method that takes in an Android Key Code and overrides it and sends something back

The question is what should that be? We need to be able to fire a generic keyEvent with the
key code attached.  This is a JS issue, not an Android issue, and this may be an issue with
other platforms with weird keys as well.  We're going to need to figure this one out on the
JS side now.
> Refactor Key Press Overrides on Android
> ---------------------------------------
>                 Key: CB-913
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: Android
>    Affects Versions: 1.8.0
>            Reporter: Joe Bowser
>            Assignee: Filip Maj
>             Fix For: 1.9.0
> Currently the Volume Up and Down events are in  While this is fine for
the general use case, it would be better if there was a utility class that handled these events.
 This would also allow us to implement the GamePad API for the Google TV events, because Google
in their infinite wisdom chose to re-implement this instead of using the standard keyCodes
for Up, Down, Left and Right.
> This should fix existing bugs on Google TV, as well as make the code neater.  It also
addresses CB-417.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message