title: Android: .nomedia is ignored, images still appear on the gallery
body: <p>I'm building an application which download images from the web and store them into my SDCard, in order to make them invisible in the gallery I put this line to generate a .nomedia file:</p>
  
  <pre><code>FileWriter f = new FileWriter("/sdcard/Android/data/CopyImage/cache/.nomedia");
  </code></pre>
  
  <p>the application can successfully download the image and make the .nodata file on the same folder, but the thing is, the image is still appear on the gallery.</p>
  
  <p>How could that be?
  Can anybody provide me a solution? </p>
  
  <p>Thank you very much</p>