Talk:How to get the current screen orientation using Symbian C++
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.