incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bowser (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-913) Refactor Key Press Overrides on Android
Date Mon, 18 Jun 2012 18:43:42 GMT

    [ https://issues.apache.org/jira/browse/CB-913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13396126#comment-13396126
] 

Joe Bowser commented on CB-913:
-------------------------------

Hey

I created the buttons branch on the Apache repository, and I'm currently working on this issue
there.  The keyUp and keyDown events can be handled by the CordovaWebView, and this makes
sense for the most part.  I'm trying to track down everything that we would need to handle
here, and seeing what makes the most sense.

Currently for Standard Android:
- Menu Button
- Back Button
- Search Button (Android 2.x only)
- Volume Up/Down

Google TV
- Up, Down, Left, Right

Xperia Play
- ????

The thing is that currently we have volume button support, so I think this should be its own
task.
                
> Refactor Key Press Overrides on Android
> ---------------------------------------
>
>                 Key: CB-913
>                 URL: https://issues.apache.org/jira/browse/CB-913
>             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 DroidGap.java.  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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message