modified SimpleCapture to use SensorManager