Clear out android Downloads list
I am trying to make an application that will do some cleanup on my device among other things I would like it to delete all of the files residing in my Download dir. I use a method like this to delete the files: private static void deleteFiles(File path) { Util.Log("deleting all files underneath " + path.getName()); if( path.exists() && path.isDirectory() ) { File[] files = path.listFiles(); for(int i=0; i<files.length; i++) { if(files[i].isDirectory()) { Util.Log(files[i].getName() + " is a dir, being recursive."); deleteFiles(files[i]); }else { Util.Log(files[i].getName() + " is a file,