Code example for SensorManager

Methods: getDefaultSensorregisterListener