Chapter 8. Using the Touchscreen and Sensors
In this chapter, we will cover the following topics:
- Listening for click and long-press events
- Recognizing tap and other common gestures
- Pinch-to-zoom with multi-touch gestures
- Swipe-to-Refresh
- Listing available sensors – an introduction to the Android Sensor Framework
- Reading sensor data – using the Android Sensor Framework events
- Reading device orientation