I am writing an Android application where I am writing a file to disk with one data value per line. Later, such files can be read in the application, and this simple data format is deserialized back to the array. At the moment, I am defining data / row values in serialization and deserialization code with \n .
How does Android carriage control return and such line breaks? Can I use \n safely in this context?
java android string newline carriage-return
Maxim zaslavsky
source share