×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Nov 2007
    Posts
    130

    Sensor: portrait vs Landscape

    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
    Registered User
    Join Date
    Feb 2007
    Location
    Tampere
    Posts
    370

    Re: Sensor: portrait vs Landscape

    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
    Join Date
    May 2004
    Posts
    2,266

    Re: Sensor: portrait vs Landscape

    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
    Join Date
    Nov 2007
    Posts
    130

    Re: Sensor: portrait vs Landscape

    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
    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
  •