Gyroscopes and proximity sensors are available on most Android phones today. By using them creatively, you can add a whole new dimension to your user interfaces. In this tutorial, I show you how to interact with them using Android's sensor framework.
Source files for the Tuts+ tutorial: Android Sensors in Depth: Proximity and Gyroscope