this is a basic code frame to show the linear acceleration value of the sensor
this same code can be used to obtain the value of other sensors too
linearAcceleration = senseManager.getDefaultSensor(Sensor.TYPE_LINEAR_ACCELERATION);
bychanging the Sensor.TYPE_LINEAR_ACCELERATION to other values , we canobtain the readings of different sensors