How can I see all sensors in Android?

How can I see all sensors in Android?
Answer
Just put a list view in your xml layout. getSensorList (int type) of SensorManager class gives a list of sensors ==> List. (To get the list of available sensors of a certain type.) Use Sensor.
 

Tìm kiếm

Back
Top