tags:

views:

31

answers:

2

For the iPhone there is a console tool for printing Nslog. For Android there is logcat. For Palm there is putty.

Is there any tool like this to print the log for BlackBerry?

+3  A: 

The "javaloader.exe" command line tool, which comes with the developer tools (I think) can be used to extract data from the device's event logger. You can also press the Alt-lglg key sequence on the device (or simulator) home screen to see log entries locally (and copy them).

If you're trying to actually send data to the event log, look up the JavaDocs for the EventLogger class.

octo
A: 

In addition to the methods octo explained, you can also just use "System.out.println" and as long as the simulator or device is connected to a debugger (JDE or Eclipose in debug mode), you will see the output in the debug window.

Marc Novakowski