I am writing some jpgs to the sdcard and naming them blindly. In other words I am just naming the files pic1, pic2, pic3, etc.
When I run the app over and over, the files get overwritten, which is my desired result.
The problem is that when I go to view them in the File System, clicking on the pictures loads the old version of pic1/2/3 etc. Oddly enough, the thumbnails have the right picture, but when you click on the picture, another image is loaded.
It looks like this has to do with the media scanner so I'm wondering how to fix this.
Perhaps there is a way to force it to update or another solution?