You Are Here:

Community: Developer Discussion Boards

#1 Old Best way to handle rotations in an landscape-only app? - 2009-07-01, 02:55

Join Date: Oct 2008
Posts: 43
carlosl
Offline
Registered User
I'm working on porting an app from a regular phone (6120c) to a 5800. The app is supposed to work in landscape mode only.


What would be the normal or typical way to handle rotations in this scenario? I'm planing on simply showing a message that the phone must be rotated whenever the phone is set in portrait orientation. However, I'm still wondering if the orientation can somehow be locked at landscape mode.

In general terms I don't want to change the axis, rotate bitmaps, etc, just to show a nice rotated screen when the phone is in portrait mode.


Any comments are welcome.
Reply With Quote

#2 Old Re: Best way to handle rotations in an landscape-only app? - 2009-07-01, 09:52

Join Date: Mar 2003
Posts: 937
Location: Espoo, Finland
JOM's Avatar
JOM
Offline
Forum Nokia Champion
Quote:
Originally Posted by carlosl View Post
I'm still wondering if the orientation can somehow be locked at landscape mode.
You're looking for this:

Code:
appuifw.app.orientation = 'landscape'
...and related manual page:

Quote:
orientation
Available only for S60 3rdEd. The orientation of the application. The orientation of the application can be one of the following values: 'automatic' (this is the default value), 'portrait' or 'landscape'.
Cheers,

--jouni missing the old readable manual
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
About nested wait loop problem(using CActiveScheduler with in Qt app) wchunming Qt for Symbian 3 2009-03-31 02:28
How to test file reading/writing and web server app in emulator? SanjayKhuntia Mobile Java General 6 2008-09-09 11:03
Any way to disable automatic landscape mode for app? DeathBaba Symbian User Interface 1 2008-08-22 14:23
symbian signed testing problem. anglina General Symbian C++ 0 2007-02-01 11:15
Dialog's clipping area (again). Nokia experts, please help synov Symbian User Interface 0 2004-06-26 15:35

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia