text - Android Java newline not working -
i'm having 1 of apps output text file saves. i'm using code i've used before--a filewriter outputs string + "|" + string + "\n".
everything works fine except newline char, "\n"--it's skip , program moves on next string without starting new lin. i've tried doing html (<br />
) instead, prints out <br />
. missing?
ok, problem solved. "\r\n". strange, "\n" works fine on own other programs, i'm guessing has environment. sam!
Comments
Post a Comment