开发者

Android Orientation for ACTION.VIEW

How can we fix orientation to portrait when we load a website such as twiter using Intent开发者_开发百科.ACTION_VIEW?


You can't control how another app functions through an intent, you can just tell it what to open.

You could make your own activity using a WebView, but you'll probably have to do a lot of work to get it to be as functional as the browser -- depends on your requirements I suppose.


Put android:screenOrientation="portrait" in the manifest for the correct intent.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜