Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    May 2009

    Orientation changes in WRT

    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.

  2. #2
    Super Contributor
    Join Date
    May 2008
    Helsinki, Finland

    Re: Orientation changes in WRT

    Hello karimrfk,

    This should help you further, as it handles how to poll the device orientation:


    Another article to go, "Changing display orientation 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.


    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

Similar Threads

  1. Replies: 1
    Last Post: 2010-05-01, 12:48
  2. Need Info Regarding Orientation
    By Huzaifa in forum Symbian
    Replies: 1
    Last Post: 2009-09-24, 11:30
  3. Orientation WRT vs Flash Lite
    By Doccie in forum [Archived] Flash Lite on Nokia Devices
    Replies: 2
    Last Post: 2009-07-10, 15:32
  4. What is WRT 1.0, 1.1, 1.2 versions?
    By naroori in forum Symbian
    Replies: 2
    Last Post: 2008-12-24, 20:07
  5. Replies: 6
    Last Post: 2008-11-10, 16:40

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts