question above. For me, getPointerCount () is always 1, after detecting a double click.
private GestureDetector mGestureDetector; mGestureDetector = new GestureDetector(this, new MyGestureListener());
...
public boolean onTouch(View v, MotionEvent event) { return mGestureDetector.onTouchEvent(event); }
...
private class MyGestureListener extends GestureDetector.SimpleOnGestureListener { @Override public boolean onDoubleTap(MotionEvent e) { return super.onDoubleTap(e); } }
source share