Android multitouch weirdness

view story

http://stackoverflow.com – I've set out to implement simultaneous image zooming and dragging. The idea was to drag with the first pointer down, and use the second pointer position to determine zoom factor. So the first pointer position would always be on the same point of the image, and also on the zoom focus point. This would make the transition between drag and zoom modes seamless. However, I soon discovered that the system was very prone to image jumping. First I checked my math, but it was ok. So I made a test program to draw colored circles under the pointer positions, and discovered the weirdness. The pointers (HowTos)