Buzgush
Buzgush

Reputation: 1

Android AVD-Unabe to rotate landscape/portrait

I want to rotate landscape/portrait android emulator. I found that I should Do one of this options: 1-Pressing numpad7 as the Num Lock is Off 2-Pressing Ctrl and F11 3-Pressing Ctrl and F12 Here is the emulator when I start it: Here is the emulator when I start it I pressed numpad7:No change! I pressed Ctrl and F11:It goes to multi-touch mode,I want just rotating! Here is when I press Ctrl and F11 or Ctrl and F12: Here is when I press Ctrl and F11 or Ctrl and F12 I checked the sensors availability.All were Ok: acceleration: enabled. magnetic-field: enabled. orientation: enabled. temperature: enabled. proximity: enabled. light: enabled. pressure: enabled. humidity: enabled.

I didn't find any good idea to solve my problem.So I'm Here on StackOverFlow. What should I do?

Sorry for my bad English Thanks.

Upvotes: 0

Views: 118

Answers (1)

j.barrio
j.barrio

Reputation: 1036

I'm using Ctrl+Left and Ctrl+Right

If you need do it with Appium on Java, this comands work for me:

((AppiumDriver) driver)
            .rotate(ScreenOrientation.LANDSCAPE);

((AppiumDriver) driver)
            .rotate(ScreenOrientation.PORTRAIT);

Upvotes: 1

Related Questions