[android-developers] Re: OnGestureListener vs ContextMenu, do they play together?

2009-03-27 Thread skink
On 27 Mar, 14:38, Keith Wiley wrote: > There is a OnGestureListener.onLongPress() method > however.  Is that what you meant? yes, i meant onLongPress but i've forgotten its void. i'm reakly sorry for that. other question: your View.onTouchEvent method. does it call super.onTouchEvent? if no

[android-developers] Re: OnGestureListener vs ContextMenu, do they play together?

2009-03-27 Thread Mariano Kamp
It's likely the wrong way, but what you described works for me. I am showing the context menu manually. On Fri, Mar 27, 2009 at 3:38 PM, Keith Wiley wrote: > > On Mar 27, 12:33 am, skink wrote: > > > what do you return in OnGestureListener.onLongClick() method? > > I hadn't added that method at

[android-developers] Re: OnGestureListener vs ContextMenu, do they play together?

2009-03-27 Thread admin.androidsl...@googlemail.com
Seen the exact same problem. Gave up on this one a while ago. On Mar 27, 2:38 pm, Keith Wiley wrote: > On Mar 27, 12:33 am, skink wrote: > > > what do you return in OnGestureListener.onLongClick() method? > > I hadn't added that method at all.  It looks from the docs like > onLongClick() is a

[android-developers] Re: OnGestureListener vs ContextMenu, do they play together?

2009-03-27 Thread Keith Wiley
On Mar 27, 12:33 am, skink wrote: > what do you return in OnGestureListener.onLongClick() method? I hadn't added that method at all. It looks from the docs like onLongClick() is a View method, not an OnGestureListener method as suggested above. There is a OnGestureListener.onLongPress() metho

[android-developers] Re: OnGestureListener vs ContextMenu, do they play together?

2009-03-27 Thread skink
Keith Wiley wrote: > My View subclass is can be written one of two ways, I've tried both. > One implements OnGestureListener, the other doesn't. In both cases, > the Activity registers the view for context menus when the view is > created and registers itself, the activity, as the context menu