I am integrating Sensors ( Accelerometer + Direction Compass) into Froyo. I went through previous discussion and got a lot of information to build my libraries.
Now, I have my libsensors.so but I don't have hardware to test. So, I have simulated to send data from my driver code without having actual hardware. I have not completely understood sensors.c file also which I used from htc sensor code. Driver posts event for ORIENTATION to the device file /dev/input/ input0, It does not provide any other control as of now. Now, I am running my application but not seeing any update in orientation. So, debugging now.. 1. How to ensure whether Sensor Service is included in the Android build? 2. Do I need to start Sensor service from init.rc? If yes, please specify the command to start the same? 3. Any environment settings or property settings need to be done on init.rc? 4. How does SensorManager knows it has to load libsensors.so library or any other library like that..it has to be mentioned somewhere right !! Thanks a lot White -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
