Thanks you for the reply, Can you post example, or point to the code where i have to change in order to support to configure sensor support. Where can find additional information to "switch sensor" functionality Here is a link i found http://processors.wiki.ti.com/index.php/Android_Sensor_PortingGuide
On Fri, Oct 7, 2011 at 3:45 PM, CVS <[email protected]> wrote: > 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-platform" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/android-platform/-/_-KMStklJkMJ. > 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-platform?hl=en. > -- 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

