I want to switch the screen orientation and I read a post in this group
about it which suggested using Screen.setOrientation. I've used it:
MobileDevice mobileDevice = MobileDevice.getMobileDevice();
Screen[] screens = mobileDevice.getScreens();
if (screens.length > 0)
screens[0].setOrientation(Screen.LANDSCAPE);
The execution was successful (without exceptions) but there was no effect at
all. The GUI had the same aspect and layout. What does this method actually
do? Perhaps the problem is that I'm testing my code in a desktop (with
Windows XP).
Thank you in advance,
Jaime