Added a new sample app: MotionSensorDemo.