Here's a quick coding of the screen rotation utility while I was developing the navigation panel. Thought it might be useful for folks who may want to have screen orientation mode such as landscape anti-clockwise and reverse portrait.
First release (v1.0) - 16th Dec 08
The utility can be run in two mode, the "UI" mode basically triggers a pop up, like the one in the screenshot. The "toggle" mode basically rotates the screen in clockwise manner.
Updated (v.1.1) - 2nd Aug 09
Updated the utility to have the ability to toggle, cycle, set via command line or menu. If you use the utility program without any parameters, it'll cycle the rotation. See readme.txt (or below) for more information
Options & Parameters
/menu Display pop up menu to select the orientation mode (Normal, Reverse Portrait, Landscape 90 deg, Landscape 270 deg)
/toggle Toggle Orientation mode between Normal & Landscape
/set Set the orientation mode, requires 2nd parameter to be the Orientation mode (see Orientation Mode definition below)
Orientation Mode Definition
1 Landscape (90 deg)
2 Reverse Portrait
3 Landscape (270 deg)
To be used with the /set option. E.g. RotateScreen /set 3
Do you find yourself obsessively jumping from ROM to ROM? And do you hate having to restore a full … more
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?