derez Expert Licensed User Longtime User Jan 9, 2011 #1 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.
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 B4X founder Staff member Licensed User Longtime User Jan 9, 2011 #2 Maybe there are such applications in the market, that allow you to rotate the screen. Upvote 0
derez Expert Licensed User Longtime User Jan 9, 2011 #4 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 Click to expand... May be this can help creating such functionality. see this also: http://groups.google.com/group/robotium-developers/browse_thread/thread/fdf2ab0412b47e7b Last edited: Jan 9, 2011 Upvote 0
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 Click to expand... May be this can help creating such functionality. see this also: http://groups.google.com/group/robotium-developers/browse_thread/thread/fdf2ab0412b47e7b