Possible Duplicate:
Can I emulate a compass on Android
I'm developing an Android application whose display depends on the orientation (azimuth specifically) of the phone. I'd like to test the application using the Android emulator, and so I need to change the orientation of the emulator dynamically through its telnet interface.
I can change its GPS position by issuing commands of the form: geo fix 34 56
However, I can't work out how to do the same for its azimuth. Is this possible, and if so how?
Thanks for any help, Martin
Its simple .You have to just press ctrl+F11 to change orientation when emulator is running.