In this chapter you will:
Learn to code the detection of and response to touch gestures.
Find patterns of common touches to create touch gestures that can be interpreted by an Android device.
Learn about MotionEvents.
Understand the differences between touch events and motion events.
Learn how to build applications using multitouch gestures.
■ 7.1 Touchscreens
As users of Android devices, we often take touch input for granted. We double tap, fling our fingers across screens, pinch images, and perform other touch gestures that were not widely available as characteristics of screen interfaces prior to January 2007. The naturalness and variety of touch-based hand gestures play an integral role ...