How to clear the caching of the image gallery
<p>I need to delete a file(video file) saved on my android gallery. I used file.delete();. The file is deleted in some devices. In some devices like Galaxy S the status of the file says it is deleted, but it is still present in the gallery. But the video can't be played! </p>

<p>I found that the media gallery is doing some aggressive caching of some preview/thumbnail, so that you see it there, but can not play it - as the underlying file is gone. How to delete this cache?</p>
