Hi all.  I am processing multi-touch MotionEvents and have a need to
only process MOVING pointers when an ACTION_MOVE is detected (rather
than all pointers).  Currently, I have a loop that goes through each
pointer in my ACTION_MOVE case statement and sends it off for
processing, but it would be great to just process the pointer(s) that
triggered the ACTION_MOVE).

One solution would be to store the location for each pointer on each
ACTION_MOVE, and when a subsequent ACTION_MOVE is triggered, loop
through each pointer, get it's position and determine if that has
changed at all from the previous movement.  It's a bit clunky, so I
wanted to ask here to see if there might be a simpler way to determine
which pointer(s) are moving and triggered the ACTION_MOVE in the first
place.

Thanks for any advice,

Paul

-- 
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