[android-developers] Re: Storing data in the APK after creating it

2009-02-05 Thread Georgios Galyfos
thanks for all your replies! I think using metadata on the manifest file is the only way of doing this: I have tried to get the metadata stored in the AndroidManifest.xml My manifest file is the one below: *XML:* ?xml version=1.0 encoding=utf-8? manifest

[android-developers] Re: Storing data in the APK after creating it

2009-02-04 Thread Mark Murphy
Yorgos wrote: Do you have any other ideas of how I can store/alter information into the APK? Simple answer: Just re-run Ant to rebuild/resign your APK after modifying the XML. More complicated answer: Tease out the specific steps from Ant that will achieve those ends. I think you will need

[android-developers] Re: Storing data in the APK after creating it

2009-02-04 Thread Georgios Galyfos
thanks for the reply, however I am trying to do this without needing to rebuild the APK.. On Wed, Feb 4, 2009 at 7:46 PM, Mark Murphy mmur...@commonsware.com wrote: Yorgos wrote: Do you have any other ideas of how I can store/alter information into the APK? Simple answer: Just re-run Ant

[android-developers] Re: Storing data in the APK after creating it

2009-02-04 Thread Sundog
I'm pretty sure this cannot be done. On Feb 4, 10:49 am, Georgios Galyfos yorg...@gmail.com wrote: thanks for the reply, however I am trying to do this without needing to rebuild the APK.. On Wed, Feb 4, 2009 at 7:46 PM, Mark Murphy mmur...@commonsware.com wrote: Yorgos wrote: Do you

[android-developers] Re: Storing data in the APK after creating it

2009-02-04 Thread Dianne Hackborn
An .apk is really just a zip file (and a jar file too), so in theory you can use any zip tools you want on it, you just need to make sure that you correctly re-sign it after making changes. There is a caveat, however, that aapt does a few special things to make sure to not compress certain files