Hi
With eSWT, is it possible to detect the change of screen orientation (landscape / portrait) ? Which sort of event is able to give this information ? Is it on a shell ? a composite ? the display ?
Thanks
Hi
With eSWT, is it possible to detect the change of screen orientation (landscape / portrait) ? Which sort of event is able to give this information ? Is it on a shell ? a composite ? the display ?
Thanks
You can query the current orientation using the Screen[1]. Screen can be retrieved from MobileDevice. Screen also provides mechanism for the detection of the orientation changes.
In addition top-level Shells receive a resize event when the orientation changes
[1] http://library.forum.nokia.com/topic...le/Screen.html
Hi,
I use the screen mechanism to detect the orientation changes... It is ok...
Thanks a lot.
Bye