Java tutorial
//package com.java2s; import java.io.File; import android.util.Log; public class Main { /** * Clears the already stored file. */ public static void clearFileCache(String filename) { File file = new File(filename); if (file.exists() && file.delete()) { Log.d("GIJON", "Fichero local " + filename + " borrado"); } return; } }