I can't delete file from sdcard.
File toDelete = new File(fname);
boolean result=toDelete.delete();
The result is false. Reads and writes of the same file is working in same app running. No opened streams. No exceptions raised. I have tried to make it writable just before deletion this way
toDelete.setWritable(true);
with no effect. How does it possible that the system can write and read, but can not delete the same file???