I occasionally get the following error from some (very few) users:
Exception:
I'm using a
in order to get the directory needed.
I suspect this is a permissions' problem, maybe users deny access to my app.
Anyone else experienced such error? Thank you in advance!
PS: I notice this error only to Android Version 6 and prior. Hope this helps.
Exception:
B4X:
java.io.FileNotFoundException: /data/data/myapp/files/shared/myfile.txt: open failed: ENOENT (No such file or directory)
libcore.io.IoBridge.open (IoBridge.java:456)
java.io.FileOutputStream.<init> (FileOutputStream.java:87)
anywheresoftware.b4a.objects.streams.File.OpenOutput (File.java:373)
anywheresoftware.b4a.objects.streams.File.WriteString (File.java:261)
B4X:
rp.GetSafeDirDefaultExternal("shared")
I suspect this is a permissions' problem, maybe users deny access to my app.
Anyone else experienced such error? Thank you in advance!
PS: I notice this error only to Android Version 6 and prior. Hope this helps.
Last edited: