by andreagosto » Fri Oct 03, 2008 8:59 am
you can also add dynamically item in menu. in onCreateOptionsMenu(Menu menu) you have to assign the parameter menu passed to a class variable, (sorry for english, in this way: mMenu = menu; ). Then, you'll can interact with menu when you'll like (and where you'll like) in normal way.