Android – Screen Touch Handling – MotionEvent Attributes

Do you need info about user touch on the screen? It is quite simple, in your Activity class you must override the method public boolean onTouchEvent(MotionEvent event) and manage there the Event. You are probably interested in MotionEvent.ACTION_DOWN, MotionEvent.ACTION_UP or MotionEvent.ACTION_MOVE.

Read More