How can I use MonkeyRunner to switch the screen mode(Portrait mode and Landscape mode)?
If its a physical device then I do not know of a way to change the screen mode without actually physically putting the device on its side.
Switch the screen mode with MonkeyRunner?