×
Namespaces

Variants
Actions

Talk:Change screen orientation of UI application

From Nokia Developer Wiki
Jump to: navigation, search
{{{width}}}
18 Sep
2009
Article Review by deepikagohil (20090918)

Sometimes our application need the screen to orient in landscape orientation. The article presnts the code to chand the screen orientation of S60 user Interface application from potrait to landscape and vice-versa. The code is simple and made more easy with comments.

The article can be useful to intermediate developes who needs to change screen orientation in their application.


{{{width}}}
23 Sep
2009
Article Review by savaj (20090923)

Yes, CAknAppUiBase::SetOrientationL() is important API to set orientation of application. Beginners may find hard to set orientation and thus this article is very important for beginners.

Also note that you can set orientation of your application using CAknAppUiBase::SetOrientationL() API, not orientation of your device.