Hi, I need to create a new folder and later a new .txt file, but i have this error: No such file or directory.
I have add this code to manifest, but don't go:
AddPermission(android.permission.WRITE_EXTERNAL_STORAGE)
this is my code:
If File.Exists(File.DirRootExternal,"MathTest/ListResults.txt") Then
Else
For i = 0 To 99
listResult(i)="0"
Next
listResult(0)=dayTodayString & "|" & monthTodayString & "|" & yearTodayString & "|" & minutesInt & "|" & secondsInt & "|" & errorsInt
'creo la cartella
File.MakeDir(File.DirRootExternal,"MathTest")
'salvo l'array nel file di testo
File.WriteList(File.DirRootExternal,"MathTest/ListResults.txt", listResult)
... Can you help me? thanks
I have add this code to manifest, but don't go:
AddPermission(android.permission.WRITE_EXTERNAL_STORAGE)
this is my code:
If File.Exists(File.DirRootExternal,"MathTest/ListResults.txt") Then
Else
For i = 0 To 99
listResult(i)="0"
Next
listResult(0)=dayTodayString & "|" & monthTodayString & "|" & yearTodayString & "|" & minutesInt & "|" & secondsInt & "|" & errorsInt
'creo la cartella
File.MakeDir(File.DirRootExternal,"MathTest")
'salvo l'array nel file di testo
File.WriteList(File.DirRootExternal,"MathTest/ListResults.txt", listResult)
... Can you help me? thanks