android - How write a new line in file using PhoneGap? -


i can write file , append content, can't create new lines.

example: need put 1 number per line

31/08/2016 00:01,0 31/08/2016 00:02,4 31/08/2016 00:03,0 31/08/2016 00:04,8 31/08/2016 00:05,0 31/08/2016 00:06,0 

i try use \n , \r (before , after of line) return not work, content write in 1 line.

i'm using plugin cordova-plugin-file write files, function writefile

them, how new line?


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -