Hi, I have updated to Froyo and the problem is still there: I cannot read the light value until the conditions change *a lot*. Any idea?
Thanks, Jose Luis. On 20 mayo, 11:24, qvark <joseluishuertasfernan...@gmail.com> wrote: > Hi there, I'm having some troubles with thelightsensoron the Nexus > One. > > AFAIK, the proper way to read the measures of asensoris registering > a SensorListener through the SensorManager and then wait for the > readings on the onSensorChanged method. > > My main problem is that thelightsensordon'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 thesensorwith 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 > athttp://groups.google.com/group/android-developers?hl=en -- 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