I noticed that when saving a textfile on my Android device with B4A and sends it as an email attachment it is not showing properly in notepad. Each newline (CRLF or Chr(10) in EditText is not recognized in Windows notepad. It works correctly in B4i when doing the same thing. Seems like the char format needs to be specified when saving on Android but how to do that?
I used this code to save the text which looks correctly on Android but not on Windows:
Save:
File.WriteString(File.DirRootExternal, "mytextfile.txt", EditText1.Text)
Load:
EditText1.Text = File.ReadString(File.DirRootExternal, "mytextfile.txt")
B4X is great. Please also offer B4W (Windows phone)
Erel you're great. Microsoft should better buy your company
I used this code to save the text which looks correctly on Android but not on Windows:
Save:
File.WriteString(File.DirRootExternal, "mytextfile.txt", EditText1.Text)
Load:
EditText1.Text = File.ReadString(File.DirRootExternal, "mytextfile.txt")
B4X is great. Please also offer B4W (Windows phone)
Erel you're great. Microsoft should better buy your company