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

This site uses Akismet to reduce spam. Learn how your comment data is processed.