Thursday, April 29, 2010

[android-developers] Rotate emulator screen through ADB shell

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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate