i am making an application on N97.
I want the application to work in portrait mode always,even iif the user opens keyboard or rotates the device.
I have read many posts and used many suggestions like
but none of this works.Code:SetOrientationL( CAknAppUi::EAppUiOrientationPortrait) ;
Is there some roubust method for that??