Hi there, I'm having some troubles with the light sensor on the Nexus
One.

AFAIK, the proper way to read the measures of a sensor is registering
a SensorListener through the SensorManager and then wait for the
readings on the onSensorChanged method.

My main problem is that the light sensor don't seem very accurate (the
readings jump a lot) and I don't get the first reading until the
lighting conditions change. I have to change the phone orientation, go
outdoors or hide the sensor with my fingers or otherwise I don't
receive any value. Is there any way to increase the accuracy or, even
more important,  to force an initial reading?

BTW, I have tried with SensorManager.SENSOR_DELAY_FASTEST but I
haven't noticed any change.

Thanks,

Jose Luis.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to