Android的:所有的应用程序清除缓存?

在一个Android应用程序我提出的,我希望能够以编程方式清除所有设备上的应用程序的缓存。这已经被问过很多次: 清除应用程序缓存编程? http://stackoverflow.com/questions/10262998/reflecting-methods-to-clear-android-app-cache 清除另一个应用程序缓存 大家都说这是不可能没有根。

In an Android app I am making, I want to be able to programmatically clear the cache of all of the apps on the device. This has been asked many times before: Clearing app cache programmatically? http://stackoverflow.com/questions/10262998/reflecting-methods-to-clear-android-app-cache Clear another applications cache and everyone says it's not possible without root.

然而,这显然不是这样。如果你看一下应用程序的应用程序缓存清理,历史记录清除器,1Tap清洁,易清洁的历史,和无数其他类似的应用程序在谷歌播放(所有这一切都不需要root),你会发现它们都可以做到这一点。因此,这是可以做到的,但我无法找到任何公开的例子如何做到这一点。

However, this is clearly not the case. If you look at the apps App Cache Cleaner, History Eraser, 1Tap Cleaner, Easy History Cleaner, and countless other similar apps in the Google Play (all of which don't require root) you will realize they can all do this. Therefore, it IS possible to do, but I just cannot find any public examples how to do this.

有谁知道所有这些应用程序都在做什么?

Does anyone know what all of those apps are doing?

感谢



 1 条回答