Hello, I have posted this message before but got no repiles so I decided to post it again because I need to detect when a single second finger goes down while the first one is still down on my canvas... here is my old post:
I have an LG Optimus Net (P690) which as far as I understand claims to support multitouch (as it sais on the following site: http://www.mobilespecs.in/2011/10/lg-optimus-net-also-known-as-p690.html not sure if capacitive touch screen means the same thing as multitouch. However when I try the following code... public boolean onTouchEvent(MotionEvent event) { int pointerIndex = (event.getAction() & MotionEvent.ACTION_POINTER_ID_MASK) >> MotionEvent.ACTION_POINTER_ID_SHIFT; int action = event.getAction() & MotionEvent.ACTION_MASK; switch (action) { case MotionEvent.ACTION_DOWN: System.out.println("got down"); case MotionEvent.ACTION_POINTER_DOWN: System.out.println("got pointer down"); int screenX = (int) (event.getX(pointerIndex) * scaleX); int screenY = (int) (event.getY(pointerIndex) * scaleY); I see the code run when I place the first finger down. When I place the second finger down without lifting the first one I don't see the ACTION_POINTER_DOWN. Not sure what I'm doing wrong if anything. Thanks for your help, John Goche -- 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

