How to modify menus from Menu button?

I’m working on an app and want to make it so that when the user touches the “menu” button at the bottom of their phone (the actual hard button), a custom menu comes up, specifically with a button that links you to a “Learn More” website. Could anyone tell me how this is done?

Thanks! [import]uid: 66386 topic_id: 11927 reply_id: 311927[/import]

If the new menu is meant to cover a whole screen then I would simply use director, otherwise I’d have a group for that menu which appear on “tap” or the like.

A link can be done very easily, using;

[lua]system.openURL(“http://www.anscamobile.com”)[/lua]

Peach :slight_smile: [import]uid: 52491 topic_id: 11927 reply_id: 43538[/import]

Thanks for the reply, Peach. That’s actually what I have now- a button that when tapped opens the URL intended. What I’m asking though, is that if it’s possible to add that menu that most apps have for when you press the menu button next to the back, home and search button along the bottom of the phone. Sorry if I’m not explaining myself well!

A picture should help- I’m talking about the button second from the left, inbetween “back” and “home”.

http://asia.cnet.com/i/r/2010/hp/45181460/nexusone_1_b.jpg [import]uid: 66386 topic_id: 11927 reply_id: 43544[/import]

Corona doesnt support menu, home, back button handling :frowning: (android i presume). There is an open feature request and a bunch of use developers crying about it in a thread on the forum :stuck_out_tongue: [import]uid: 8872 topic_id: 11927 reply_id: 43581[/import]

Apologies, I misunderstood - kam is right :frowning: [import]uid: 52491 topic_id: 11927 reply_id: 43613[/import]

must admit I fell into the crying trap too :frowning:

yes its sucks that corona doesnt fire an event for the menu button, but then that shouldnt stop you. Most build something into the app that fits with style of the app rather than use the menu button.

nb ios things dont have a menu button so if you’re developing a cross platform app, dont get hung up on having a menu button. :wink: [import]uid: 74338 topic_id: 11927 reply_id: 87386[/import]