0

I can only find either very old Q&As around this topic, or very incomplete ones that never really work. So, In the current Android SDK 30, is it possible at all to query the cache size of all installed apps in the device, and then display them in your own app? If yes, how? If not, which sdk should I use instead?

To be clear, I am already listing all the apps in the device (icon + name + package), I just can't find a way to fetch the information of their cache size to display next to them.

Mayec
  • 343
  • 1
  • 2
  • 7
  • https://stackoverflow.com/questions/67570493/android-get-cache-size-of-all-installed-apps – IntelliJ Amiya May 17 '21 at 13:23
  • check this may help you https://stackoverflow.com/a/49815819/11365488 – Elfnan Sherif May 17 '21 at 15:16
  • getCacheDir seems targeted towards locating "this" app's cache. I'm under the impression that it cannot be used to locate and measure the cache dirs of other apps in the device. Am I wrong about this? – Mayec May 18 '21 at 10:10

0 Answers0