Until recently my program has been able to write and read a particular file. For no apparent reason the file cannot be read at present. I get
java.io.FileNotFoundException: /storage/emulated/0/BarryWalk/rates.txt (Permission denied)
File.exists returns true.
The file can be read by a different program on the same device. The two program's manifest are identical.
They both contain
AddPermission(android.permission.WRITE_MEDIA_STORAGE)
AddPermission(android.permission.WRITE_EXTERNAL_STORAGE)
I cannot think of any other settings.
Any help would be much appreciated.
java.io.FileNotFoundException: /storage/emulated/0/BarryWalk/rates.txt (Permission denied)
File.exists returns true.
The file can be read by a different program on the same device. The two program's manifest are identical.
They both contain
AddPermission(android.permission.WRITE_MEDIA_STORAGE)
AddPermission(android.permission.WRITE_EXTERNAL_STORAGE)
I cannot think of any other settings.
Any help would be much appreciated.