Android Question Get Installed App's Cache Size

cambopad

Active Member
Licensed User
Longtime User
Hi, all B4A-ers!
How can I get the Cache Size of an already installed app on Android phone? I spent hours searching everywhere in this site, but found no answers at all!

Can anyone post some code examples on how to get the Cache Size of the installed application?

Thanks you in advance!
 

cambopad

Active Member
Licensed User
Longtime User
I don't think that it is possible to find the cache size of other applications.
Hi, Erel! Thanks you for your reply!
I have found out that many apps on Playstore can do that. For example, App Cache Cleaner.But I don't know how they do it :(.
2015-06-01_184204.png

I searched again all over the Internet, and found this on Stackoverflow.

http://stackoverflow.com/questions/...ulate-all-cache-size-of-installed-application

I tried to test it using Inline Java Code, but I can't get it working as I am really a noob in Java :(

Please help me!
Thanks you,
 
Upvote 0
Top