>From my work with the sensors I think the rates are hints to the OS
about prioritization of work.  Requesting the highest rate will
generally
get samples around 10-20ms rate, regardless of system load.

It does seem like under low load they all will deliver 10-20ms rates.

The sample rate does really have an effect, it's not a millisecond
specifier.

  mike


On Aug 21, 7:32 am, DaminouU <[email protected]> wrote:
> Hi,
>
> I am currently using sensors and I would like to know if I can slow
> down the sampling rate.
> Indeed, I register my listener with the constant
> "SensorManager.SENSOR_DELAY_UI"
> (is it the slowest one of the four constants mentionned in the
> documentation?)
> but the rate is still quite high. I would like to be able to define
> the time before giving the new value (For example, I would like to
> wait two seconds before update).
>
> Does someone have any idea to do that?
>
> Thanks,
>
> D.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to