I'm trying to delete an image from my gallery:
file.delete()
and the file was not completely deleted - when I check if the file exists:
file.exists()
It return false but if I get into the gallery I can see that instead the image there is an empty image (like an error). But if I restarting my device the image completely delete! so my question is: How can I refresh the gallery?