Okay I see :) Thank you Mark :) I will just stick with onClickItemListener
then

Then there is only my final question left: is it possible to e.g. choose the
Email option in the menu and attach the item, which I used to open the menu
with, to an email? If this is possible how would I best do that??



On Fri, Jul 16, 2010 at 12:04 AM, Mark Murphy <[email protected]>wrote:

> On Thu, Jul 15, 2010 at 6:53 PM, kivy <[email protected]> wrote:
> > When I use the onClickItemListener together with openOptionsMenu();
> > the menu opens, but the item doesn't get selected.
>
> Correct.
>
> > 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.
>
> That's the definition of "selection" in Android.
>
> > Is there any way to combine both things, so that I select a GridView
> > item on the touchscreen
>
> You don't select items in Android via the touchscreen.
>
> http://developer.android.com/resources/articles/touch-mode.html
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> _The Busy Coder's Guide to Android Development_ Version 3.1 Available!
>
> --
> 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
> [email protected]<android-beginners%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en
>

-- 
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
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to