문제

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.

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top