Hi there, I have a question regarding the onSelectedItemListener and onClickItemListener in Android. I am trying to select an item within my GridView by clicking on it. Additionally the optionsmenu shall open (and later I would like to select an optionmenu item that shall trigger an action with the selected GridView item, e.g. I select an item, the menu opens, I click Email and this opens the phone's email app and attaches the item directly to a new email).
When I use the onClickItemListener together with openOptionsMenu(); the menu opens, but the item doesn't get selected. Now, when I use the onSelectedItemListener I cannot click on the item on the emulator's "touchscreen" to select it but have to use the phone's keys. Is there any way to combine both things, so that I select a GridView item on the touchscreen, open the options menu, click an menu item and e.g. attach the selected item to an email? If someone could help me with that, that would be fantastic. Thank you. -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en