Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR ASSEMBLY

list all sensors android

    // 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
 
PREVIOUS NEXT
Tagged: #list #sensors #android
ADD COMMENT
Topic
Name
8+4 =