I've searched high and low and maybe this has come up, but for some reason I can't figure this out...
The best way to describe it is to put it in steps:
- Successfully created the file l_data.dat on one device
- Same code, cannot create the file on other android device
- Same code, changed file name on working device, and it won't create the new file, yet the original file will still work but only on that device!
There are no full memory or permission issues etc.
Here is the code:
'Load data file
If File.Exists(File.DirDefaultExternal, "l_data.dat") = True Then
List1 = File.ReadList(File.DirDefaultExternal, "l_data.dat")
MaxNum = List1.Get(0)
MaxFields = List1.Get(1)
Else
MaxNum = 99
MaxFields = 6
End If
Then on Activity_Pause where the file is created:
List1.Clear
List1.Add(MaxNum)
List1.Add(MaxFields)
File.WriteList(File.DirDefaultExternal, "l_data.dat", List1)
Thanks for any help!
The best way to describe it is to put it in steps:
- Successfully created the file l_data.dat on one device
- Same code, cannot create the file on other android device
- Same code, changed file name on working device, and it won't create the new file, yet the original file will still work but only on that device!
There are no full memory or permission issues etc.
Here is the code:
'Load data file
If File.Exists(File.DirDefaultExternal, "l_data.dat") = True Then
List1 = File.ReadList(File.DirDefaultExternal, "l_data.dat")
MaxNum = List1.Get(0)
MaxFields = List1.Get(1)
Else
MaxNum = 99
MaxFields = 6
End If
Then on Activity_Pause where the file is created:
List1.Clear
List1.Add(MaxNum)
List1.Add(MaxFields)
File.WriteList(File.DirDefaultExternal, "l_data.dat", List1)
Thanks for any help!