Added an api in the SensorManager which can be used by the android app's
to write data to the SensorService.