If you are using Internet Explorer, please remove blackberry.com from your compatibility view settings.

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
lostdragon
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
Please use plain text.
Developer
peter_strange
Posts: 19,601
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.

Please use plain text.
Contributor
lostdragon
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?
Please use plain text.
Developer
simon_hain
Posts: 15,893
Registered: ‎07-29-2008
My Device: Z10 LE
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
Please use plain text.
Contributor
lostdragon
Posts: 34
Registered: ‎10-03-2012
My Device: 9300
My Carrier: cell c

Re: console display

Thnk u
Please use plain text.