title: How to Delete files in /data/data/providers/downloads/cache on Android
body: <p>I want to create and delete some files located in /data/data/providers/downloads/cache. So far, I can download target files and save in /data/data/providers/downloads/cache successfully, but when I trying to delete a file located in /data/data/providers/downloads/cache it fails in the end. My methods are as follows</p>
  
  <pre><code>File directory = new File("/data/data/providers/downloads/cache");
  File[] files = directory.listFiles();
  </code></pre>
  
  <p>I want to list all files, so that I can find the target files need to be deleted.
  I found that listFiles() method always return NULL, so my question is, can I use listFile() to the dir /data/data/providers/downloads/cache ?</p>
  
  <p>Any ideals are welcomed.</p>
  
  <p>BR
  Alan</p>