inder wrote: > Thanks for the reply but I am not seeing the results as expected. I > just tried it out: an asset file that I compressed myself with Gzip, > vs the same file uncompressed. > > The resulting apk with uncompressed file was much bigger: > > Compressed case: > Asset file: 45348 bytes > Apk file: 132099 bytes > > Uncompressed case: > Asset file: 113988 bytes > Apk file: 183001 bytes > > This are the Apk files as generated by eclipse (in the development > mode). What could be happening? > Thanks > Inder > If I understand things correctly, Apk files are modified Jar files from Java, which in turn are modified Zip files. I don't know what the default compression method or strength is in Jar files, but they are definitely compressed. GZip, as far as I know, usually does a better compression job than Zip does, so that's probably what you're seeing.
Raymond --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---