I am running a series of automated tests on Android devices which are hosted in html pages on a local server. Some of the tests need to be run in Portrait, some in landscape. I am trying to find the way to check and change the orientation of the device or the browser programmatically.
Currently I am writing in Python/Jython/Monkeyrunner/ADB but I could switch if there were a good solution to this from some other source. a basic test would be run: check orientation/change orientation open url activate test on page get results repeat I have tried "service call window 18 i32 1", which would be ideal for my purposes, but I only get errors, ie "Result: Parcel(fffffffc ffffffff '........')" Is there a way to call this as an activity of the browser/android? Is there a way to spoof tilt events to trigger the change? Could this be done from within an app, installed and run as a package? Any help at all would be appreciated, Thanks in advance, -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

