jay jay - 16 days ago 7
Android Question

Android uses-feature usage

What is the difference between the following:

<uses-feature android:name="android.hardware.bluetooth" android:required="false" />


and

<uses-feature android:name="android.permission.CAMERA" android:required="false" />


Is the later even a valid declaration?
Is uses-feature only valid when associated with hardware components or even valid for system features?

Also, for every permission group is there a list of corresponding hardware components it uses, so that marking optional features would be easier ?

jay jay
Answer
<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.

For more information read the documentation