Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor BalajiR's Avatar
    Join Date
    Nov 2007
    Posts
    130
    Hi,

    I want my application to work only in portrait mode. When the user turns the device , it should not open in landscape mode instead should be in portrait itself.

    Is it possible to off the sensor through coding? or any other solution?

    Regards,
    Balaji

  2. #2
    Regular Contributor mrudulpen's Avatar
    Join Date
    Feb 2007
    Location
    Tampere
    Posts
    368
    You can handle your drawing in handleresourcechange.

    Look at this link
    Regards

    - MVP
    "Dare To Dream" - A.P.J.Kalam

  3. #3
    Nokia Developer Champion chenziteng's Avatar
    Join Date
    May 2004
    Posts
    2,265
    Hi,

    See the following wiki article (you need to replace the EAppUiOrientationLandscape with EAppUiOrientationPortrait to lock the app's orientation to portrait).

    "CS001517 - Lock application orientation in Qt for Symbian"
    http://wiki.forum.nokia.com/index.ph...Qt_for_Symbian

    Regards

    Ziteng Chen

  4. #4
    Regular Contributor BalajiR's Avatar
    Join Date
    Nov 2007
    Posts
    130
    Hi, Thanks. It works.

Similar Threads

  1. QA failed: game N95 landscape not available
    By Lunaforte in forum [Closed] Publishing to Nokia Store
    Replies: 5
    Last Post: 2009-08-03, 23:21
  2. Keyboard in landscape mode S60 3rd FP2 v1.1 (bug ?)
    By heuven in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2009-02-28, 12:07
  3. drawRGB problem in landscape mode in S60 3rd edition FP1 emulator
    By retset in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2007-11-06, 10:39
  4. skinning in landscape mode.
    By ravinder007 in forum Symbian C++
    Replies: 0
    Last Post: 2007-01-24, 11:01
  5. Replies: 0
    Last Post: 2006-05-18, 16:56

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved