Question

I am korean software developer and can speak english not very well.

I ask for your understanding.

Anyway...

I've got the code size(long) from packagestats.

Related Links:

http://developer.android.com/reference/android/content/pm/PackageStats.html

Getting installed app size

However,

I don't know what codeSize represent.

Someone says codeSize is the size of APK.

I can't make sure of that.

Because there are not only APK files but resource files like odex files, image files,

sound files, ttf files and so on.

At the beginning, I did want to know each full package size

so I did get sum of codeSize, dataSize, cacheSize and external things.

I am not sure of that is full package size.

Plz, advice for me.

Thank you.

Était-ce utile?

La solution

Your APK file contains the program's code (.dex files), resources, assets, certificates, and manifest file. So the codeSize gives the size of APK, basically a zip file which includes everything.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top