Hello,
Is it normal that data written to file.dirDocuments is lost when you restart the app?
using code as below shows that the file always vanishes while it was there before.
with file.dirLibrary it seems to work fine tho.
Application_Start
<B4IList: (
)>
---
<B4IList: (
"test.txt"
)>
Is it normal that data written to file.dirDocuments is lost when you restart the app?
using code as below shows that the file always vanishes while it was there before.
with file.dirLibrary it seems to work fine tho.
B4X:
Log(File.ListFiles(File.DirDocuments))
File.WriteString(File.DirDocuments,"test.txt","test")
log("---")
Log(File.ListFiles(File.DirDocuments))
Application_Start
<B4IList: (
)>
---
<B4IList: (
"test.txt"
)>