My device, the Wits A81E, doesn't have an accelerometer.
Is there a way to launch the process of rotation from the program, not by the external sensor ? I would like to be able to change orientation without having to re-launch the program.
Erel
I found this site in which there is open source for testing called Robotium, which includes orientation change by code Solo (Robotium :: Solo 1.4.0 API)) :
setActivityOrientation
public void setActivityOrientation(int orientation)
Method that sets the Orientation (Landscape/Portrait) for the current activity.
Parameters:
orientation - the orientation to be set. 0 for landscape and 1 for portrait
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.