Can anything meaningful (even if undocumented) be stored there? Just out of curiosity - I don't see any documented use for them and as far as I can tell, they are zero most of the time. However, sometimes there seems to be something non-zero in there.
I'm asking as I've seen a crash stack where (badly written) code that only uses ACTION_POINTER_ID_SHIFT to retrieve pointer index (i.e. without masking the action with ACTION_POINTER_ID_MASK first) crashes in getPointerId() due to ArrayIndexOutOfBoundsException (on Galaxy Tab/2.2). The most natural explanation seems to be that the upper 16 bits were non-zero. What actually got me interested though was that this never happens for the first two pointers touching the screen. It only seems to become a problem with 3, 4 or more active pointers. -- 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

