In the Android developer guide, when dealing with the light sensor, it says:
// The light sensor returns a single value.
// Many sensors return 3 values, one for each axis.
And then proceeds to take the first value of the array:
float lux = event.values[0];
In some cases, I get 0 in the first place of the array and a nonzero value in the second and/or third.
I tried to look for the meaning of this vector, but I couldn't find an explanation.
Can anyone please explain?