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

Filip Maj commented on CB-10805:
--------------------------------

Lol I can't get the menuevent to fire in Android at all, even with the 
{{overrideButton}} call.

> menubutton event is not correctly documented
> --------------------------------------------
>
>                 Key: CB-10805
>                 URL: https://issues.apache.org/jira/browse/CB-10805
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-android, cordova-docs
>            Reporter: jcesarmobile
>            Assignee: jcesarmobile
>            Priority: Minor
>
> This is the doc for menubutton
> {quote}
> menubutton
> The event fires when the user presses the menu button. Applying an event 
> handler overrides the default menu button behavior.
> Quick Example
> document.addEventListener("menubutton", onMenuKeyDown, false);
> function onMenuKeyDown() {
>     // Handle the back button
> }
> {quote}
> But menubutton event was broken on android. (See CB-9949)
> When fixed, a change was introduced, to make the menubutton work, now it's 
> required to add this line:
> {code}
> navigator.app.overrideButton("menubutton", true);  
> {code}
> But that is not documented anywhere.
> I think it should be added as an android quirk as it is supported by 
> blackberry too and I don't think this is needed on blackberry devices.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to