android - Light Sensor collecting inaccurate data -


i collecting data light sensor amount of time:

msensormanager.registerlistener(this, lightsensor, sensormanager.sensor_delay_fastest); 

the problem values collected not accurate , frequent. "not accurate", mean if start sensor @ time, first reading old 1 of long before began collecting data.

also, since delay declared sensormanager.sensor_delay_fastest, lot of values , sometime 100s of records in 1 second , sometime not 1 reading in 3 seconds.

can explain issue might , if there solutions please?

i believe because these light sensors send data when there change in light. not readings if light level not change, if wave hand in front of or turn dimmer switch slowly, 100s of readings.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -