Hello, I wrote a separated thread during the summer about this but I start a new one as it has been messed up with another discussion.
We are trying to add rotation of screen based on accelerometer in our Android eclair 2.1 device. Kernel driver is working fine and I have eventually developed an Android hal sensors driver (based on hardware/ libhardware/modules/sensors/). For instance, the application: http://www.ibm.com/developerworks/opensource/library/os-android-sensor/index.html reports correctly the acceleration (not the orientation) of the device. So my naive question is: what now? Where is some support for screen rotation in Android? For instance, is the browser or the launcher supposed to rotate (landscape/portrait) depending of the screen position? In which Android version? Is there any patch (http:// www.koushikdutta.com/2008/12/auto-rotate-for-android-browser.html) to do this? Thanks for any clarification, Grégoire -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
