Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Trusted Contributor
Posts: 138
Registered: ‎04-19-2012
My Device: No
My Carrier: Nokia

Text On screen

Hello all ,

                  Is there any function like( system.out.println(""); in java)

                  in balckberry  with the help of that i can directly print something on my screen.

Posts: 17,019
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Text On screen

you can use system.out.println just fine, but it only prints to the debug console, not the device screen.
to display something simple you can use Dialog.alert (on the event thread), for other things you can take a look at the Logger class or create an own log service.
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter