O'Reilly Answers is a community site for sharing knowledge, asking questions, and providing answers that brings together our customers, authors, editors, conference speakers, and Foo (Friends of O'Reilly). More »
The sample code (646KB) to accompany the screencast.
The iPhone's accelerometer measures the linear acceleration of the device so can report the roll and pitch, but not the ya...
The accelerometer returns 3-dimensions of input (x,y, and z axis). However, the native state of the accelerometer input is with the iPhone being held flat, parallel to the ground (such as if it were l...
Have you ever wondered how the iPhone's touch screen works, how the proximity sensor blanks the screen when you hold the iPhone to your face or how the tilt feature works? ComputerWorld does a ni...
The accelerometer built into the iPhone has proven to be a very
popular feature, especially for game developers. The accelerometer lets the entire device be used as an input
device, with its...