Why not just call the new method multiple times, once for each sensor
you want to listen to, keeping the other arguments the same?

On Oct 10, 7:42 am, DD <[email protected]> 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 [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