Android游戏开发全攻略
一、 元素解析
在使用较旧版本 Android 系统(如 1.5)的设备上,你可能会发现某些应用不会出现在 Google Play 中,这可能是因为应用的清单文件中使用了 <uses-feature> 元素。Google Play 会根据设备的硬件配置过滤应用,而 <uses-feature> 元素可以让应用指定所需的硬件功能,如多点触控或 OpenGL ES 2.0 支持。
1.1 <uses-feature> 元素属性
<uses-feature> 元素有以下属性:
<uses-feature android:name="string" android:required=["true" | "false"] android:glEsVersion="integer" />
-
android:name:指定功能本身。 -
android:required:告诉过滤器该功能是必需的(true)还是可选的(false)。 -
android:glEsVersion:可选属性,仅在需要特定 OpenGL ES 版本时使用。
超级会员免费看
订阅专栏 解锁全文
4821

被折叠的 条评论
为什么被折叠?



