×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Mar 2009
    Location
    João Pessoa, Brazil
    Posts
    26

    fullscreen at landscale orientation

    Hello, I'm developing an app to 5800 using eSWT. I want to know howto set fullscreen mode (remove the menu bar at the right of the screen) using landscale orientation. Thanks.

  2. #2
    Nokia Developer Expert
    Join Date
    Nov 2008
    Posts
    72

    Re: fullscreen at landscale orientation

    Hi,
    For full screen check out the MobileShell. This should work for both Landscape and Portrait
    http://library.forum.nokia.com/topic...bileShell.html

    If you are trying to fix the orientation to a particular one you can use Screen
    http://library.forum.nokia.com/topic...le/Screen.html

    --
    Gorkem

  3. #3
    Registered User
    Join Date
    Mar 2009
    Location
    João Pessoa, Brazil
    Posts
    26

    Re: fullscreen at landscale orientation

    Thanks!

    I did this to set fullscreen:
    mainShell = new MobileShell(display);
    mainShell.setFullScreenMode(true);

    And this to set landscale:
    mainShell.open();

    Screen screen = getActiveScreen();
    screen.setOrientation(Screen.LANDSCAPE);
    (...)
    }

    private Screen getActiveScreen() {
    Screen[] screens = MobileDevice.getMobileDevice().getScreens();

    for (int i = 0; i < screens.length; i++) {
    if (screens[i].isActive()) {
    return screens[i];
    }
    }
    return null;
    }

Similar Threads

  1. Need Info Regarding Orientation
    By Huzaifa in forum Symbian
    Replies: 1
    Last Post: 2009-09-24, 11:30
  2. Orientation WRT vs Flash Lite
    By Doccie in forum [Archived] Flash Lite on Nokia Devices
    Replies: 2
    Last Post: 2009-07-10, 15:32
  3. portrait orientation and landscape orientation in N96
    By videoFx in forum [Archived] Flash Lite on Nokia Devices
    Replies: 0
    Last Post: 2009-05-20, 15:13
  4. Replies: 6
    Last Post: 2008-11-10, 16:40
  5. Fullscreen : Menubar
    By Vextorin in forum Symbian
    Replies: 1
    Last Post: 2004-07-11, 15:00

Posting Permissions

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