Hi I'm trying to write a list to CSV but my phone gives some kind of Java exception error when I try to do this.
It's not a permissions thing because I write to the same location with File.WriteList and it works fine.
Here is the code snippet. Thanks for any advice, I commented out the SaveCSV in order to try the File.Write.List.
They use the same data and destination for the write. I'm running this on the Samsung with the 2.2 Android on it.
Also as a second note I can't find a way to append a file so I thought that the SaveCSV might do that for me.
Dim su As StringUtils
Dim FileName As String
FileName = (NameTxt.Text & ".txt")
Msgbox("FileName Value is " & Filename & "and Dir is " & AppProfileDir, "")
Msgbox("This is the ProfileList " & ProfileList, "")
'su.SaveCSV(AppProfileDir, FileName, ",", ProfileList)
File.WriteList(AppProfileDir, FileName, ProfileList)
thanks for any ideas.
It's not a permissions thing because I write to the same location with File.WriteList and it works fine.
Here is the code snippet. Thanks for any advice, I commented out the SaveCSV in order to try the File.Write.List.
They use the same data and destination for the write. I'm running this on the Samsung with the 2.2 Android on it.
Also as a second note I can't find a way to append a file so I thought that the SaveCSV might do that for me.
Dim su As StringUtils
Dim FileName As String
FileName = (NameTxt.Text & ".txt")
Msgbox("FileName Value is " & Filename & "and Dir is " & AppProfileDir, "")
Msgbox("This is the ProfileList " & ProfileList, "")
'su.SaveCSV(AppProfileDir, FileName, ",", ProfileList)
File.WriteList(AppProfileDir, FileName, ProfileList)
thanks for any ideas.
Last edited: