Hi,
I'm trying to identify the screen mode (landscape/protrait).
I tried the following code:
1.
TSizeMode sizeMode = iScreenDevice->GetCurrentScreenModeAttributes();
return sizeMode.iRotation;
2.
TInt aMode = iScreenDevice->CurrentScreenMode();
TPixelsAndRotation aScreenMode;
iScreenDevice->GetScreenModeSizeAndRotation(aMode, aScreenMode);
return aScreenMode.iRotation;
When I use it on on N73, 6120, N95 4GB I get CFbsBitGc::EGraphicsOrientationNormal when the screen is on portrait
But when I use it on N95 8GB I get CFbsBitGc::EGraphicsOrientationNormal when the screen is on landscape.
Any ideas?

Reply With Quote



