It is assumed that the screen's native orientation is the default
orientation.  That is, the default orientation is whatever get when the
software rotation of the screen is 0.

If you need to make your default orientation a rotation of the screen's
natural frame buffer, you will need to modify PhoneWindowManager to do this.
 And be very careful, it is easy to screw up the behavior of the overall
platform there.

I would be happy to review a change that adds a configuration parameter for
this.

On Thu, Jan 13, 2011 at 7:37 AM, Dudero <[email protected]> wrote:

> Hello,
>
> I have nowhere found how to set the inital screen-orientation of an
> android-build.
> I know that this is possible in an Android-Activtiy or directly by
> manipulating the Android-source...
>
> But I think it should exists a "clean-solution" like a property which
> can be set in "init.rc"-file?
>
> In addition it would be a nice feature if it is possible to swich the
> orientation by using a adb-shell-command?
>
> Greetz dudero
>
> --
> unsubscribe: 
> [email protected]<android-porting%[email protected]>
> website: http://groups.google.com/group/android-porting
>



-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to