Does anyone knows how to prevent orientation changes in WRT? I am working on a widget app that I need to maintain the portrait display at all times.
Thanks for your help.
Does anyone knows how to prevent orientation changes in WRT? I am working on a widget app that I need to maintain the portrait display at all times.
Thanks for your help.
Hello karimrfk,
This should help you further, as it handles how to poll the device orientation:
http://wiki.forum.nokia.com/index.ph..._in_WRT_Widget
Another article to go, "Changing display orientation in WRT"
http://wiki.forum.nokia.com/index.ph...ntation_in_WRT
You can initiate a Callback method whenever change in Device Orientation is detected and then what you could do, is maybe
override with window.widget.setDisplayPortrait() should the device want to change orientation by information received
from the sensor.
http://library.forum.nokia.com/index...1823A4534.html
You could experiment with these to find out how it works for your application. The detection speed should be fast enough not to
cause distraction for the user, operating the device and therefore the UI of your application.
Best Regards,
[FONT="Comic Sans MS"][COLOR="Blue"][/COLOR][I]Marko Lumivuori
Technical Support
+358 40 8019330
[email]marko.lumivuori@nokia.com[/email][/I][/FONT]