I would like to open the optionsMenu programmatically without a click on the menu key from the user. How would I do that?
from an OnClickListener inside an activity called MainActivity:
MainActivity.this.openOptionsMenu();