Search code examples
blackberrynewlineblackberry-widgets

How can I add newline("\n") on Dialog.alert(textfromxml)?


this '\n' doesnt work. Also I tried with LabelField and TextField. Result is same.:( my code:))

 Dialog.alert(errorString);

and my xml line.

1) Check your camera's ip address and port number.'\n'2) Try Again


Solution

  • I found a solution.

    I use 
 for \n. It works good.