If you register a Sensor you will get SensorEvents by the methode onSensorChanged(SensorEvent).
This SensorEvent have the value vector "values[]". Wich is most time size of 3. Is there way to get the number of values per Sensor without testing it ?
The size of a barometer's value vector for example is "3" too but only the first index have a value while the others have "0". Is there way to get the valid value number of each sensor too ?
0 comments:
Post a Comment