Hi Dani,

Android assumes (and rightly so far) that ONLY one sensor of each "type" is 
present on the device.
Mulitiple sensors of same "type" are not supported in the framework.

If ur device has multiple sensors of same type onboard and you *really* want 
to enable both, then
1. Enable the kernel drivers for both sensors.
2. Add additonal "switch-sensor"functionality in the sensor-HAL.
(the code that generates your /system/lib/sensor.so)
3. Use the "switch-sensor" function interface u added in step2 in your 
programs.

Note that other programs (using standard Android API) will NOT be aware of 
the 2 sensors of the same type.
They will continue using the default sensor exposed by the sensor-HAL.

regards
CVS

-- 
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