Android Single And Multiple Touch Event Example

Android provide single and multiple touch support. If you want to response to the touch event, you must create an instance of android.view.View.OnTouchListener and override it’s onTouch(View view, MotionEvent motionEvent) method. Then register the listener to the view object use the view’s setOnTouchListener method.