With one sensor, we can register only one sensor, so for multiple
register, multiple sensor |Manager is required.

On Oct 10, 4:42 pm, DD <daviddiaofri...@gmail.com> wrote:
> Hi, A simple question: How do I register for multiple sensors? I just
> switched from
> registerListener(SensorListener listener, int sensors, int rate) ,
> which is deprecated, to
> registerListener(SensorEventListener listener, Sensor sensor, int
> rate) . Previously, I could use " | " to indicate multiple sensors,
> but now " | " is undefined.... so how?? Thanks a lot!
--~--~---------~--~----~------------~-------~--~----~
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