I need to control emulator screen orientation remotely and
automatically, so I cannot use keyboard to rotate the screen.  I am
trying to do so through ADB shell commands. I found through googling
that the following two commands may help:

change the screen to landscape:
# service call window 18 i32 1
change the screen to portrait:
# service call window 18 i32 0

However, they do not work for me.

Should these commands work? If not, are there any other ways to do so?

Thanks,
S.R.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to