'uses-feature' is used in following way:
<uses-feature
android:name="string"
android:required=["true" | "false"]
android:glEsVersion="integer" />
What is the use of 'android:required' and 'android:glEsVersion'?
'uses-feature' is used in following way:
<uses-feature
android:name="string"
android:required=["true" | "false"]
android:glEsVersion="integer" />
What is the use of 'android:required' and 'android:glEsVersion'?
required
is used to show that the feature the app uses is essential to the application; without that feature the app would be useless or wouldn't work. If your app uses gps, for example, as a nice-to-have feature but it isn't absolutely necessary, you could setrequired
tofalse
. This way, users with devices that don't have devices with gps can still download your app from the Play Store—which they otherwise couldn't.glEsVersion
is necessary only if the feature requires OpenGL ES. In that case you might want to specify at least one version to be used in the context.Or as the developer guidelines state:
You can read more about
<uses-feature>
in the Android Developer GuidelinesAs described in android developer.android:
The
<uses-feature>
lets you specify whether your application requires and cannot function without the declared feature.The
android:glEsVersion
The OpenGL ES version required by the application.android:required is useful when every device not support hardware or feature which your app needs.
Example : My app is useful for backup purpose of SMS,contact,calllog,apk etc. But some tablets doesn't has sim card then android:required="false" work for me if that app run on that device.