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 BlackBerr开发者_Python百科y?
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.
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.
I am working on a Linux System and converting an Android App to Blackberry. I am using the Toolset available here:
https://developer.blackberry.com/android/
d.) Start ADB Proxy to connect a device or VMWare simulator through ADB to an Android development environment of your choice
>bin\blackberry-adbproxy [<device IP address>] [-detect] [-gui] [-password <device password>]
or
>bin\blackberry-adbproxy -gui
This tool allows me to get Logging Info from my Blackberry like I would get from an Android Device.
精彩评论