Can android acquire light frequency using light sensor? How?

666 Views Asked by At

Can android acquire light frequency using light sensor? If so, how?

1

There are 1 best solutions below

3
On BEST ANSWER

It can't get the light frequency. The only value returned by the light sensor is the brightness in Lux values

See SensorEvent for details. (Search for "lux" to find the right spot)

Sensor.TYPE_LIGHT:

values[0]: Ambient light level in SI lux units