I use this code to delete image:
Delete returns true, file is not deleted but damaged. Same behavior Android 5 & 7.
Double click on file in Windows File Explorer returns error:
"Windows Photo Viewer can't open this picture because the file appears to be damaged, corrupted or too large."
B4X:
Dim picDir As String = File.DirRootExternal
Log(File.Delete(picDir, "test.jpg"))
Delete returns true, file is not deleted but damaged. Same behavior Android 5 & 7.
Double click on file in Windows File Explorer returns error:
"Windows Photo Viewer can't open this picture because the file appears to be damaged, corrupted or too large."