Dear Raja,
I think that compressing resources in APK would not be that convenient for two reasons: 1- when resources are actual pictures, they are usually already compressed (using GIF, JPG, PNG,...) and trying to ZIP them does not significantly reduce their size 2- APK resource files are offered through the framework (grep "assets" in the source code...) that "maps" these APK files, allowing to get a pointer to them. Compressing would lead to a buffer duplication that may impact memory and speed. IMHO, this APK format is quite smart and convenient as it is... Rgds. Franck On Feb 3, 11:44 am, Raja Nagendra Kumar <[email protected]> wrote: > When we open up the .apk file in winzip (as it is a jar file), we see > the classes are compressed and stored as one file. However the > resources are taken as is. Would it not be a nice approach to compress > all the resources (specially if all the application has many images) > and store it as one file, as this could further bring down the .apk > size. I understand it needs more runtime memory though.. Are there any > options to pack the resources this way already.. > > As Android seems to run j2se.. I am assuming that such kind of runtime > memory is not an issue. > > Regards, > Raja Nagendra Kumar, > C.T.Owww.tejasoft.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

