开发者

Is it possible to disable orientation change for a Symbian Web App?

Just a simple little problem. My app only needs to work in portrait mode and landscape looks funky. Is there a way to disable landscap开发者_如何学运维e mode in the app?

Thanks in advance.


There are two ways.

1) In your AppUI's ConstructL(), call:

BaseConstructL(CAknAppUi::EAppOrientationPortrait);

2) At any time, call:

AppUi()->SetOrientationL(CAknAppUi::EAppUiOrientationPortrait);

See also this Forum Nokia article.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜