Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AVD Screen orientation not changing with CTRL+F11 or CTRL+F12

I run my app in the AVD emulator using eclipse but I'm unable to change the screen orientation in the AVD (Android 2.0 platform on the emulator).

When I press CTRL+F11 or CTRL+F12 on the keyboard, nothing happens. No messages are generated in the adb debuglog/logcat either when I press either hotkey.

According to http://developer.android.com/guide/developing/tools/emulator.html these are the correct hotkeys to switch the emulator's screen orientation.

I tried it with my app, and with the messaging app. The hotkey has no affect in any case.

I'm running Fedora 12, Gnome. I checked my Keyboard Shortcuts in the System -> Preferences menu, nothing's attached to either hotkey.

Same problem, 3 different PCs (all running Fedora Gnome).

like image 235
Brad Hein Avatar asked Apr 26 '10 16:04

Brad Hein


People also ask

How do I change the orientation of AVD?

Ctrl + F11 and Ctrl + F12 both work. Save this answer.

How do you rotate the screen on an emulator?

Use Ctrl + F11 . This will rotate your emulator.


3 Answers

you can also use keypad 7 and keypad 9, did you try them?

like image 123
o0'. Avatar answered Oct 03 '22 11:10

o0'.


Are you using android:screenOrientation to lock it into one or the other?

like image 20
Robby Pond Avatar answered Oct 03 '22 09:10

Robby Pond


Make sure you don't have a feature, such as an accessibility one that allows the mouse pointer to be moved with the numpad keys, turned on. I somehow accidently enabled this in Ubuntu, and it was hard to tell what was going on, because I didn't hold the keys down long enough for the pointer didn't move much. Going to Keyboard Preferences->Mouse Keys and unchecking "Pointer can be controlled using the keypad" fixed it.

like image 44
kelleyn Avatar answered Oct 03 '22 10:10

kelleyn