In my android development project under the folder res
there are all the resources my application uses. The size is 3.11 mb and contains 1013 files . On the other hand in the apk
there is the folder res
with all the resources as well , but this has a size of only 760 kb and contains only 332 files . Now does this means that not all the resources are packed? If this is the case what happens when a needed resources is referenced?
views:
103answers:
1
+1
A:
Now does this means that not all the resources are packed ?
No, it means the APK file is a compressed ZIP-style archive.
CommonsWare
2010-04-20 12:00:58
I decompressed it before I checked this !
rantravee
2010-04-20 12:23:37
Also, bear in mind that many of the resource are pre-compiled in that `resources.arsc` file. Many of the XML ones should be treated this way, for example, converted into a binary XML format for smaller distribution and quicker on-device parsing. Do you have any proof that any resource you want is somehow unavailable to you on the device?
CommonsWare
2010-04-20 12:51:03
Not at all !, I was just surprised to find that less resources in the apk than in the res folder.
rantravee
2010-04-21 05:41:36