Are you just wanting to display a context menu with the long press?  If so
you can implement OnCreateContextMenuListener and use
setOnCreateContextMenuListener()

http://developer.android.com/reference/android/view/View.html#setOnCreateContextMenuListener%28android.view.View.OnCreateContextMenuListener%29

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Wed, Mar 16, 2011 at 12:41 AM, varinag gold <[email protected]>wrote:

>
> Any one?
>
>
> On Mar 15, 4:38 pm, varinag gold <[email protected]> wrote:
> > Hello,
> >
> > For a gridview I am able to set the onItemClick and it works fine but
> > I don't know how should I implement  "onItemLongClick" so that I can
> > get both type of responses from a gridview items.
> >
> > I googled but could'n get an understandable code where both have been
> > implemented properly.
> >
> > Please respond if you have done it .
> >
> > Regards,
> > varinag
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" 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-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en

Reply via email to