TheJavaCoder16
TheJavaCoder16

Reputation: 591

How can I switch orientation at runtime in Eclipse Emulator

I have been doing testing with my android project, and I have built orientation change functionality into my app, but when I change the orientation in Eclipses emulator, it remains in portrait(or landscape depending on how it started).

EDIT**: The emulator itself rotates, but the APP doesnt.

And the public void onConfigurationChanged(Configuration c) method is never called.

Yes I have put android:configChanges="orientation" in my manifest

I would prefer not to have to buy a phone for testing, so help would be graciously appreciated!

Upvotes: 0

Views: 170

Answers (4)

TheJavaCoder16
TheJavaCoder16

Reputation: 591

The Android Emulator orientation cannot be changed by orientation change events and therefore this question is closed.

Upvotes: 0

Akshay Mukadam
Akshay Mukadam

Reputation: 2438

pres ctrl+f12 you will be able to get the emulator rotated. Emulator will by defaul will not rotate it will just present the view

Upvotes: 1

user3067593
user3067593

Reputation: 5

Not sure about the runtime but try CTRL + F12.

Upvotes: 0

jlgsoftware
jlgsoftware

Reputation: 168

use numbers 9 and 7 in keyboard numpad

Upvotes: 0

Related Questions