×
Namespaces

Variants
Actions

Talk:How to get the current screen orientation using Symbian C++

From Nokia Developer Wiki
Jump to: navigation, search
{{{width}}}
28 Sep
2009
Article Review by savaj (20090928)

Application may need to get current orientation. In GUI application you can get it easily by using method CAknAppUiBase::Orientation(). Article describes how to get current orientation of application, which is more useful to beginners.

Current orientation of application is different from orientation of device. Do not confuse with screen orientation of device and current orientation of application. CAknAppUiBase::Orientation() will returns the orientation that you have set using SetOrientationL() in your constructL() method of appui class, not screen orientation of device.


 
×