I'm currently using the event
@Override
public boolean onTouchEvent(MotionEvent ev)
{
To provide feedback from the user for game I'm writing. This event fires off some game control events that take some time to complete (because there is animation involved). The problem I'm having is during the animation if I keep touching the screen (AKA firing this event), I will get a timeout error:
10-02 21:58:30.776: ERROR/ActivityManager(67): Reason: keyDispatchingTimedOut
Basically while the animation is running, I do not need this event, although it would be nice to queue it.
What can I do to prevent the timeout and either queue the event, or temporarily disable it?
Thanks.