Getting installed app size

Posted by alex on Stack Overflow See other posts from Stack Overflow or by alex
Published on 2009-11-27T00:37:58Z Indexed on 2010/04/09 7:53 UTC
Read the original article Hit count: 226

Filed under:

I'm trying to figure out how to get the size of an installed app.
What's already failed:
- new File('/data/app/some.apk') - reports incorrect size
- PackageManager.getPackageSizeInfo(String packageName, IPackageStatsObserver observer) - is @hide and relies on some obscure IPackageStatsObserver for result so I can't call it via reflection.

© Stack Overflow or respective owner

Related posts about android