Skip to Navigation | Skip to Content



New: KeyEvents for Menu Button | December 17th, 2009

phonegap_menu

One of the big complaints that we keep hearing when you port PhoneGap apps over is that they don’t follow the Android UI specifications AT ALL. The alerts don’t have buttons, the back key doesn’t do what it’s supposed to do, etc, etc.

Well, we fixed the back button, and introduced a new event, menuKeyDown. When the menu key on any Android device is pressed, this will fire an event that will let the user know if they need to present the user with a menu of some sort. The menu could come from the bottom like the typical Android menu, or be a lightbox that takes over the window. The event exists so that the user can decide on it.

Also, the alerts have buttons now! I’m going to push these up to the EDGE version of PhoneGap momentarily.

Posted in Android, phonegap | 2 Comments » | Add to Delicious | Digg It

This entry was posted on Thursday, December 17th, 2009 at 2:43 pm and is filed under Android, phonegap. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

2 Responses to “New: KeyEvents for Menu Button”

  1. Christian Says:

    Hi,
    I’m currently developing an app for Android using PhoneGap and I’m experiencing repeatable crashes, everytime I press the back button the second time. I hope you can help me.
    Thanks, Chris

  2. Joe B Says:

    What version do you use? I don’t experience these issues on the latest version of PhoneGap. If you could provide me with more info, or better yet, file a bug at http://phonegap.lighthouseapp.com, that would be better.

Leave a Reply