【发布时间】:2014-10-20 09:18:53
【问题描述】:
我想将我的 Phonegap 应用程序的使用限制在平板电脑上。 通过 config.xml 文件读取this page 似乎是可能的。
在我的 config.xml 文件中,我做了以下更改:
- 已添加:
xmlns:android = "http://schemas.android.com/apk/res/android" -
添加
<gap:config-file platform="android" parent="/manifest"> <supports-screens android:smallScreens="false" android:normalScreens="false" android:largeScreens="true" android:xlargeScreens="true" android:requiresSmallestWidthDp="600" /> </gap:config-file>
当我构建应用程序时,我看不到 AndroidManifest.xml 上的更改。 我的错误在哪里?此过程应该适用于本地构建和使用 build.phonegap.com 的远程构建?
提前致谢。
【问题讨论】: