Using the Accelerometer: Not Just for Games
The accelerometer lets you build games and other apps which respond when the user moves the device. Learn how to use this feature effectively and efficiently, with real-world examples to motivate the discussion. We’ll cover low- and high-level APIs; reducing jitter; best practices for debugging, QA, and alpha-testing; and preserving battery life. We’ll present solutions to classic problems such as calculating the angle of tilt, detecting a shake gesture, and calibration, and discuss problems which may have no good solution.