I need to find out phones orientation at the app launch and then display two bitmaps which are different for portrait mode and landscape mode.
I have gone through the SDK and have found Orientation() function. but this function gives me "EAppUiOrientationUnspecified".
in my constructL of the AppUI i am calling
I am passing "EAppOrientationAutomatic" as my application suportes both landscape and portrait depending on the phones resolution.
i am using N95.
is there something i am doing wrong ?
how can i get the phones orientation at app launch ?