[android-beginners] Re: Respoding to Menu button click?

2008-06-25 Thread Ashok Singal
Hi Mike, If you could go through the Tutorial Exercise 2nd, you will find that there are two functions that Android has provided for managing items in the Menu Control as following: 1. onCreateOptionsMenu(): You can create your items in Menu. 2. onMenuItemSelected(): What action needs to be take

[android-beginners] Re: Respoding to Menu button click?

2008-06-25 Thread Mark Murphy
MBraude wrote: > Hi Everybody, > > I'm sure this is an easy thing to do, but I haven't run into an > example yet that responds to the user clicking the Menu button on the > phone. I'd like to be able to show / hide some things based on this > click event. What's the easiest way to do this? The