f we want to perform similar function like onClick by onTouch for a view then we have to monitor two action ACTION_DOWN and ACTION_UP
public boolean onTouch(View v,MotionEvent event) { switch(event.getAction()) { case MotionEvent.ACTION_DOWN: userIDTag = (String)v.getTag(); break; case MotionEvent.ACTION_UP: then based on the userIDTag that we have obtain during on ACTION_DOWN event we can perform necessary action } return false; }