0

I see tons of apps for Android that allow you to "clear" the cache completely. I would like to implement the same functionality in my app.

I am familiar with context.getCacheDir() but this only returns the application-specific cache dir. Is there a way to recursively go through the cache directories of other apps as well and clear those?

On a side note, I would like to get the total cache files size, if that is possible at all.

4

0 に答える 0