Display Application Size In Eclipse

I need to display the size of every application installed in my phone! how can i achieve this? previous what failed

PackageStats ps = new PackageStats(packageInfo.packageName);
int size = ps.codeSize; 

i am getting a 0 value every time.


Source: eclipse

Leave a Reply