I want to track a finger touch on the screen. So what I did was to start recording the position when MotionEvent
triggers ACTION_DOWN
, but how do I know when the action is finished, at ACTION_CANCEL
, or ACTION_UP
?
What's the exact difference between them?