Simple swipe gesture to activity tutorial? [closed]
SimpleOnGestureListener mySimpleGestureListener = new SimpleOnGestureListener() { @Override public boolean onDoubleTap(MotionEvent e) { Logout.debug(“onDoubleTap”); return super.onDoubleTap(e); } @Override public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX,float velocityY) { String velocity=”onFling: \n” + e1.toString() + “\n” + e2.toString() +”\n” + “velocityX= ” + String.valueOf(velocityX) + “\n” + “velocityY= ” + String.valueOf(velocityY) + “\n”; Logout.debug(“onFling velocity=”+velocity); return super.onFling(e1, … Read more