accurate compass direction

OrientationSensor.java & OrientationSensorActivity.java are stand alone
implementation for getting accurate direction in which phone is
pointing when taking a picture.