android - How to get Storage size of the Application -


how storage size of installed applications, programmatically, displayed on application's applicationinfo page?

you call

process process = runtime.getruntime().exec(commandline); bufferedreader bufferedreader = new bufferedreader(new inputstreamreader(process.getinputstream())); 

with commandline ls -l /data/app/*.apk or ls -l /data/app-private

and parse resulting data information need.


Comments

Popular posts from this blog

delphi - TJvHidDeviceController "DevicePath" always showing "\" -

Disabling Android home button for industry application -

asp.net mvc 3 - Unexpected "foreach" keyword after "@" character -