Page 1 of 1

App Cache

Posted: 02 Oct 2014 04:15
by Akt
Hi martin,

Very useful action to delete app cache but please add an option to select all application at one click......

And also if total cache exceeds specified amount of mb, then it should automatically delete cache....

Re: App Cache

Posted: 02 Oct 2014 12:24
by Martin
Hi,

To my knowledge there's no good API to get notified about cache usage changes so best I could offer would be a condition to check the amount of used cache (total or per app/package). I add this to the list of features under consideration but I'm not sure how much time it would need to check all apps.

Clearing the cache of all apps could probably be done using Execute Root Command: pm trim-caches 99999M. The command might not be available on all Android versions. The documentation provided by the command is quite short:
pm trim-caches: trim cache files to reach the given free space.
Regards,
Martin

Re: App Cache

Posted: 04 Oct 2014 08:28
by Akt
Thanx Martin for the reply.....

Re: App Cache

Posted: 21 Jun 2017 16:30
by juvete
I just published a flow that cleans the cache of all installed apps.
Please have a look here:
viewtopic.php?f=3&t=6745