You can get the Options Menu instance for your activity from
onCreateOptionsMenu(Menu) method which is called only once when it is
initialized or from onPrepareOptionsMenu(Menu) method which is called
every time the menu button pressed.
See 
http://code.google.com/intl/en-EN/android/reference/android/app/Activity.html#onCreateOptionsMenu(android.view.Menu)
and 
http://code.google.com/intl/en-EN/android/reference/android/app/Activity.html#onPrepareOptionsMenu(android.view.Menu)

Robert
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to