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.?

[412 byte] By [raymondralibia] at [2007-11-27 11:45:34]
# 1

Are you sure your handset supports multi-line notes for contacts?

regards, Darryl

Darryl.Burkea at 2007-7-29 18:02:28 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 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

raymondralibia at 2007-7-29 18:02:28 > top of Java-index,Java Mobility Forums,Java ME Technologies...