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

Grolleau edited comment on CB-8921 at 5/18/15 10:24 PM:
--------------------------------------------------------

I confirm that this issue has nothing to do with android 2.3. Devices running 
kitkat android versions still feature menu button, including professional 
devices like Motorolla TC55 or TC70/TC75.
If you look at the code in CordovaWebViewImpl.java you will see that the case  
KeyEvent.KEYCODE_MENU can't be reached because before there's a test to chek if 
the code is in boundKeyCodes and boundKeyCodes only contains the code for 
backButton.
There's even a TODO in the setButtonPlumbedToJs function about the issue.

Menubutton worked perfectly in previous versions.


was (Author: nicolas.grolleau):
I confirm that this issue has nothing to do with android 2.3. Devices running 
jellybean and even newer versions still feature menu button, including 
professional devices.
If you look at the code in CordovaWebViewImpl.java you will see that the case  
KeyEvent.KEYCODE_MENU can't be reached because before there's a test to chek if 
the code is in boundKeyCodes and boundKeyCodes only contains the code for 
backButton.
There's even a TODO in the setButtonPlumbedToJs function about the issue.

Menubutton worked perfectly in previous versions.

> menubutton event not firing
> ---------------------------
>
>                 Key: CB-8921
>                 URL: https://issues.apache.org/jira/browse/CB-8921
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>         Environment: Android Emulator, SDK 19
>            Reporter: Jean-Luc Desroches
>            Assignee: Joe Bowser
>            Priority: Minor
>
> After updating to latest version of cordova (5.0) menubutton event is never 
> triggered. Have tested in hello world app, as well as in my  own app, neither 
> of which register any menubutton events



--
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