Android has sensor application implemented, you have to implement Sensor HAL module to read your device orientation changes.. Your Sensor module will be identified as "SENSORS_HARDWARE_MODULE_ID", you ha
On Tue, Jun 29, 2010 at 10:18 PM, Gregoire Gentil <[email protected]> wrote: > Hello, > > We have Android for the Touch Book (http://www.alwaysinnovating.com/ ) > which has a Freescale accelerometer. Driver, /dev/input/accel0 and an > example of implementation in xorg/xrandr work great. > > What's the best way to implement rotation for our Android porting? At > which level should rotation be taken into account inside Android? > > Thanks for any tip or pointer how to properly do that, > > Grégoire Gentil > Founder Always Innovating > > > > -- > unsubscribe: [email protected] > website: http://groups.google.com/group/android-porting > -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
