清除应用程序缓存编程?

我想写一个实用工具,用户可以选择一组安装的应用程序,并清除其数据的高速缓存,即喜欢,你可以使用内置的设置 - > Applictions设置手动的方式做屏幕的清除缓存按钮

I want to write a utility where the user can select a set of installed apps and clear their data caches i.e. like the way you can do manually using the built-in Settings->Applictions settings screen with the "Clear cache" button.

我如何可以访问多少缓存数据的每个应用程序都有和编程清楚这些缓存?

How can I access how much cached data each app has and programmatically clear these caches?



 1 条回答