Chapter 14. Sensors
In This Chapter
• Accelerometer sensor
• Smoothing sensor readings
• Compass sensor
• Gyroscope sensor
• Motion sensor
• Sensor calibration
Chapter 11, “Touch,” looked at touch input and gestures, which is ordinarily the first choice for user input in most Windows Phone apps. Yet the hardware of Windows Phone devices provides additional sensors that can be used for input, including an accelerometer, compass, and gyroscope, along with a combined virtual sensor called the motion sensor.
This chapter examines each sensor in detail, beginning with the accelerometer. You see how to process accelerometer readings, and how to simulate acceleration within the Windows Phone emulator. You learn how to apply data ...
Get Windows® Phone 7.5 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.