jeudi 25 juin 2015

Print the next line from SQLite

My problem:

In my application I read the address details from SQLite database & display the textview.

my sqlite sample address - 41 South Station Road,'\n' Colchester, '\n' CO1 1RQ

But next line using '\n' not working. It prints directly '\n' into textview.

My output:

enter image description here

What I am tried

after refer SO Question

41 South Station Road,"\\n" Colchester, "\\n" CO1 1RQ

41 South Station Road,"\n" Colchester, "\n" CO1 1RQ

41 South Station Road,\n Colchester, \n CO1 1RQ

all the above are not working.

Aucun commentaire:

Enregistrer un commentaire