Welcome!

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

Reply
Contributor
Posts: 34
Registered: ‎10-03-2012
My Device: 9300
My Carrier: cell c
Accepted Solution

console display

Hi guys

Is the a way to display variable results on the console. I knw j2me has system.out.println() method. Does blackberry simulator have a similar method. Thank u in advance
Developer
Posts: 19,631
Registered: ‎07-14-2008
My Device: Not Specified

Re: console display

On BB System.out.println(..) displays output on the console log, so you will see this when debugging the Simulator or real device.

 

There is a different mechanism if you want the output to end up in the BB Event log.

Contributor
Posts: 34
Registered: ‎10-03-2012
My Device: 9300
My Carrier: cell c

Re: console display

How do you out put to the event log?
Developer
Posts: 16,689
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: console display

you register with eventlogger
http://www.blackberry.com/developers/docs/7.1.0api/net/rim/device/api/system/EventLogger.html#regist...
and log events using
http://www.blackberry.com/developers/docs/7.1.0api/net/rim/device/api/system/EventLogger.html#logEve...
(for example)
----------------------------------------------------------
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
Contributor
Posts: 34
Registered: ‎10-03-2012
My Device: 9300
My Carrier: cell c

Re: console display

Thnk u