PDA

View Full Version : manage the menu-button (android)



COSTcdm
5 Aug 2011, 3:08 AM
Hi . How can i create a menu and display it when the user clicks the menu-button of his phone ?
Then how can i bind action-listerners to it.
That seems quite important when creating an app and i cant find any tutorials to do that with sencha touch.
thanks.

steve1964
5 Aug 2011, 3:17 AM
Hi, you have to package your webapp with Phonegap and add a listener:
https://github.com/danmayer/fitbit-widget/blob/master/phonegap-android/assets/www/fitbit-app.js#L161