I want to be able to add custom attributes to the Manifest.mf file that is created when I build and sign my APK file using Eclipse. By default, I see in the source that the addDigestsToManfest() method of SignApk adds the two standard main attributes in the code:
main.putValue("Manifest-Version", "1.0"); main.putValue("Created-By", "1.0 (Android SignApk)");
However, I can't figure out anyway in the Eclipse project to tell it to add additional attributes which I can use as custom metadata when interrogating the apk file programatically:
jar.getManifest().getMainAttributes().entrySet();
I'm sure this can be accomplished in an ANT task, but I really have my mind set on being able to do it using the Eclipse ADT plugin, and it seems like there should be some way of pointing to some additional metadata that should be inserted into the manifest.mf file.
Thanks in advance for any help