Page 1 of 1

Setting of used features for Android

Posted: Thu Mar 07, 2013 2:17 pm
by Rado1
If someone wants to publish ZGE applications on Google Play, it would be useful to declare used features (<uses-feature> tags) in application's AndroidManifest.xml. A list of pairs featureNameString - isRequiredFlag should be edited in ZApplication. When generating apk, these values are to be included to AndroidManifest.xml as <uses-feature> tags.

This feature should be used, for instance, in applications which use ZGESensor library.

Another possibility, maybe more flexible but requiring more advanced users, is: not to generate AndroidManifest.xml each time, but only in the case it does not exist yet. This would allow to specify used features, min sdk version, permissions, etc. manually. Checking presence of AndroidManifest.xml during generation can be directed by some option in Settings/Android. BTW this option is orthogonal to declaration of used features described earlier.