Each MotionEvent has the current state of all pointers. If you are explicitly tracking one pointer that went down and hasn't gone up, you can map its ID to the index of the pointer data with this: http://developer.android.com/reference/android/view/MotionEvent.html#findPointerIndex(int)
I can't imagine very many cases where you are handling any kind of multi-touch data where you wouldn't be doing something about all active pointers, though. On Mon, May 21, 2012 at 2:51 AM, Habba <[email protected]> wrote: > If user is using an app with two fingers on the touch screen, how can I > tell which finger produced the ACTION_MOVE event? I can't find the correct > pointer id from the event, it always returns the pointer id of the first > one. > > As a work around I'm iterating through all pointer ids and tracking their > x,y coordinates, but this produces few extra events that are meaningless. > > -- > 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 -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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

