I have Uri image which I store from ActivityOnResult. I would like to remove this image few steps later.
File file=new File(uri.toString());
//I tried file.mkdir() too, but without change
if(file.exists())
file.delete();
But file.exists() return false. I have no idea what can be the reason. I will be gratefull for any tipis