Handling touch and motion events

suggest change


A summary of some of the basic touch/motion-handling systems in the Android API.


Listener | Details | — | — | onTouchListener | Handles single touches for buttons, surfaces and more onTouchEvent | A listener that can be found in surfaces(e.g. SurfaceView). Does not need to be set like other listeners(e,g. onTouchListener) | onLongTouch | Similar to onTouch, but listens for long presses in buttons, surfaces and more.|

Feedback about page:

Optional: your email if you want me to get back to you:

Table Of Contents