Problem with new line
Hi,
I'm trying to write a note for a contact.I have written following code
contact.addString(Contact.NOTE, contact.ATTR_NONE,"bla bla bla");
it works, but when i write
contact.addString(Contact.NOTE, contact.ATTR_NONE,"bla \n bla \n bla");
it doesn't work. What's wrong with newline
Can anybody help me to fix it.?
# 2
I'm still working on emulator.
If I write
contact.addString(Contact.NOTE, contact.ATTR_NONE, "bla \n bla \n bla");
actually it's still working but the "\n" is ignored. The output is
>>bla bla bla
not
>>bla
bla
bla
but if I write (without space after new line)
contact.addString(Contact.NOTE, contact.ATTR_NONE, "bla \nbla \nbla");
it's not working and doesn't have any output. Is "\n" really not supported or it's a bug .?
Thx