I'm writing a program where the user's finger will often linger on the
screen for more than the couple of seconds it takes for the context
menu to activate. I have a class that controls when this should
happen, but I seem to be unable to launch the context menu manually.
As a last resort I decided to register the context menu just before
running openContextMenu(View), and while this /did/ grant me a context
menu, it subsequently disabled the calls to onTouchEvent when the user
touches the screen, rendering the program unusable after showing the
context menu.

So...
What is the correct way of manually opening the context menu?
Why does onTouchEvent suddenly stop receiving events?

Regards,
- Mark Gjøl
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to