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

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.
June 8th, 2010 at 1:57 pm
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
June 8th, 2010 at 6:47 pm
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.