Chapter 8 Sensors and Camera
Figure 08.01: The Accelerometer can gauge the orientation of a stationary device
Figure 08.02: A gyroscope will return rate-of-rotation data for the three coordinate axes
Figure 08.03: The coordinate system for an Android phone
Figure 08.04: Tilt and pitch input for the Roaming Ball Application
Figure 08.05: The project structure of the Roaming Ball application
Figure 08.06: The layout design for activity_my.xml
Figure 08.07: The layout design for ball_item.xml
Figure 08.08: Magic Answer application supplies an answer when the user shakes the device
Figure 08.09: The project structure of the Magic Answer application
Figure 08.10: The user interface for activity_my.xml
Figure 08.11: The layout structure for input_layout.xml
Figure 08.12: Project structure for the Compass application
Figure 08.13: The orientation change will be determined along the x-axis
Figure 08.14: The Basic Camera application uses the built-in camera
Figure 08.15: Project structure for the Basic Camera application
Figure 08.16: Photographs with added filters
Figure 08.17: A photograph with swapped blue, red, and green values
Figure 08.18: A photograph with its color negated
Figure 08.19: The photo ASCII conversion application
Figure 08.20: Project structure for the photo ASCII conversion application
Figure 08.21: activity_my.xml layout structure