Ragnar
Ragnar

Reputation: 4578

How to rotate screen inside AVD with Android Emulator (Not the AVD rotation)

I'm using Android Emulator with Android 4.4.2 API level 19 Skin WVGA800 and when I press Left Ctrol+F11, AVD disposition changes from Portait to Landscape but screen orientation inside AVD still being Portrait. I appreciate any help!!

Upvotes: 2

Views: 3965

Answers (4)

Pedro Gonzalez
Pedro Gonzalez

Reputation: 1459

Found the bug still in emulator running API 27. What worked for me: Advanced Settings -> Keyboard -> Enable keyboard input (disable)

Upvotes: 1

Dexter
Dexter

Reputation: 4293

This so link provides some way to fix this bug in the emulator like:

1- disabling the "Hardware keyboard present" checkbox in the "Edit Android Virtual Device (AVD)" window.

2- removing the "Keyboard lid support" option in the settings of the hardwere virtual machine

3- setting accelerometer property of the emulator set to True.

OR Problem are not solve , try this.... Num Lock is "OFF" & Press (Keypad 7 or Keypad 9)

etc.

Upvotes: 1

dsdebastiani
dsdebastiani

Reputation: 123

It's a bug on emulator. API level 19 (4.4) not support screen orientation: http://code.google.com/p/android/issues/detail?id=61671

Try change the API level target on your AVD settings. API level 18 (4.3) works fine for me.

Upvotes: 1

Ragnar
Ragnar

Reputation: 4578

I found this app "Set Orientation" that allows you to force your device into a particular screen orientation. Supports all orientations, which on Android 2.3 (Gingerbread) and above includes reverse (upside-down) and sensor-based orientations.

https://play.google.com/store/apps/details?id=com.googlecode.eyesfree.setorientation&rdid=com.googlecode.eyesfree.setorientation

I hope this help people with the same problem. It was useful for me.

Upvotes: 1

Related Questions