can not delete a picture in android, a black image stays in the system
<p>i have a problem with android, i'm unsing a <code>startActivityForResult(takePictureIntent, actionCode);</code></p>

<p>to delete the picture i use:</p>

<pre><code>if (bildURL != null) {
    File file = new File(bildURL);  
    if (file.exists()) {
        file.delete();
    }
}
</code></pre>

<p>where <code>bildURL</code> is the string of the path of the file</p>

<p><strong>the problem: when i delete the file, i cant see it anymore in the galery but i see a black picture instead. why? how to delete this correctly?</strong></p>

<p>EDIT: the bildURL is like <code>/mnt/sdcard/Pictures/MyAlbum/IMG_20121006_120145_781482161.jpg</code></p>
