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

forms - Secure PHP File Upload Script -

c# - Regex Problems, extracting data to groups -

silverlight - SL4 - TextTrimming in DataGridRowGroupHeader -