I am confused by the two methods in Android. It seems that both methods tell you what kind of event it is, i.e., whether it is a down or up event.
When will I use which?
public void onTouchEvent(MotionEvent e)
Don't quote the documentation please, because I read it, and I don't see any parameter I can supply to either of the methods to get something different.
public final int getAction ()
and
public final int getActionMasked()