Android uses-功能使用
Android uses-feature usage
以下有什么区别:
<uses-feature android:name="android.hardware.bluetooth" android:required="false" />
和
<uses-feature android:name="android.permission.CAMERA" android:required="false" />
后面的声明是否有效?
uses-feature 是否只在与硬件组件关联时才有效,甚至对系统功能有效?
此外,对于每个权限组,是否有其使用的相应硬件组件的列表,以便标记可选功能会更容易?
<uses-feature
android:name="string"
android:required=["true" | "false"]
android:glEsVersion="integer" />
Declares a single hardware or software feature that is used by the
application.
有关详细信息,请阅读 documentation
以下有什么区别:
<uses-feature android:name="android.hardware.bluetooth" android:required="false" />
和
<uses-feature android:name="android.permission.CAMERA" android:required="false" />
后面的声明是否有效? uses-feature 是否只在与硬件组件关联时才有效,甚至对系统功能有效?
此外,对于每个权限组,是否有其使用的相应硬件组件的列表,以便标记可选功能会更容易?
<uses-feature
android:name="string"
android:required=["true" | "false"]
android:glEsVersion="integer" />
Declares a single hardware or software feature that is used by the application.
有关详细信息,请阅读 documentation