Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
334 views
in Technique[技术] by (71.8m points)

javascript - 在Android PhonGap构建上强制使用景观(Forcing Landscape On Android PhonGap Build)


I am trying to make my app force rotate to landscape on Android .(我试图使我的应用程序力量在Android上旋转为横向 。)

I know there are methods to do this with the normal Linux program but i was wanting to know whether it is possible to do so on PhoneGap Build(我知道有一些方法可以使用普通的Linux程序来执行此操作,但是我想知道是否可以在PhoneGap Build上执行此操作)
Thanks for any answers.(感谢您的任何答案。)   ask by Praveen K translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

This is a good time to read the documentation .(这是阅读文档的好时机。)

The section you want is in Configuring -> Preferences -> Multi-Platform(您需要的部分位于“ Configuring -> Preferences ->“ Multi-Platform) DATE: 2015-11-30 - Sorry forgot to include this:(日期:2015-11-30-对不起,忘记包含以下内容:) <preference name="orientation" value="landscape" />

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...