// Get the SensorManager
SensorManager mSensorManager = (SensorManager) getSystemService(SENSOR_SERVICE);
// List of Sensors Available
List<Sensor> msensorList = mSensorManager.getSensorList(SensorManager.SENSOR_ALL);
// source https://stackoverflow.com/questions/2858161/display-an-android-sensors-list