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.