Cancellare la cache delle applicazioni di sistema di Android

Creato il 12 maggio 2011 da Magnus


Scopo:
 Cancella la cache delle applicazioni di sistema di Android (Browser, Google Maps, StreetView, Android Market, GMail) ed eventualmente (vedere commenti sul codice) di altre applicazioni molto usate (Tunewiki, Myspace)

Code: #Deletes all caches in one fell swoop :]
#Locations of the caches were taken from various sites, including xda and androidcommunity.com
#written by indiekid97, modified by Andrea (@android-dev.it)

#Deletes browser cache
rm -R /data/data/com.android.browser/cache/webviewCache

#Deletes Maps cache
rm -R /data/data/com.google.android.apps.maps/files

#Deletes StreetView
rm -R /data/data/com.google.android.street/cache

#Deletes Market cache
rm -R /data/data/com.android.vending/cache

#Deletes GMail cache
rm -R /data/data/com.google.android.gm/cache/webviewCache

#Deletes Tunewiki cache (Uncomment to activate also this one)
#rm -R /data/data/com.tunewiki.lyricplayer.android/cache/webviewCache

#Deletes Myspace cache (Uncomment to activate also this one)
#rm -R /data/data/com.myspace.android/files


Fonte: http://forum.android-dev.it/il-grande-thread-degli-script-android-piu-utili-t375.html


Potrebbero interessarti anche :

Possono interessarti anche questi articoli :