Hi, I've got a single board computer with connected lcd touch screen and Android 4.1.1. It shall run in portrait mode on default. So I set <bool name="def_accelerometer_rotation">false*</bool>*. (overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml) After that, I added *ro.sf.hwrotation* to my device.mk and built android. Actually everything works like a charme and I can rotate the screen orientation by changing the *ro.sf.hwrotation *value. For example, set it to 0 changes the Orientation to portrait mode, using 180 to UpsideDownRotation.
But my big problem is that any app rotates the screen for 180° automatically, regardless of I set it to portrait or upside down rotation. Is there anyone who has an idea how to fix it? Or is it possible to lock the screen orientation on android level without an additional app? Thank you very much in advance. -- -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting --- You received this message because you are subscribed to the Google Groups "android-porting" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
