i got a task to display a warning message on phones like N95 are switched to lanscape mode by sliding the device.
but i need to force my application to portrait mode at the same time.
this is what i did
first i display message
if (iEikonEnv->EikAppUi()->ApplicationRect().Width() > iEikonEnv->EikAppUi()->ApplicationRect().Height())
but the message come only when the first time i swtich the orientation mode.
can anyone help me with this is there another way to detect orientation mode after using setOrientation function.