09-21-2010 06:06 AM
Hi all,
I just want to know if there's any solutions to see System.out.println.
I don't use neither Eclipse nor JDE BlackBerry for my developpement.
I have my jar, jad files. I convert my jar file by using the rapc tool. The .cod files are generated.
I launch the simulator. Now i have 2 windows : Simulor and Output windows (See the image).
Then I load my .cod files. But i don't see all System.out.println(" ...") in the output windows.
How i can see these System.out.println("...") ?
Please help me.
Thanks all.
Solved! Go to Solution.
09-21-2010 07:27 AM
09-21-2010 07:42 AM
you can use a selfwritten log or the Logger class for the device event log.
09-21-2010 07:54 AM
Thanks you for your help.
But by many specifique problems, i don't want to use neither Eclipse nor JDE for my dev.
Do you know another solution without install these 2 tools.
Thanks
09-21-2010 08:13 AM
Thanks for your help.
I try your solution EventLogger.
But I have another problem:
My application is not a native application (It's a midlet J2ME, not an UIApplication). Do you thinks it will work with EventLogger ?
How can I do a register for EventLogger:
static boolean |
register(long guid, String name) Registers the calling application's name and guid. |
static boolean |
register(long guid, String name, int viewerType) |
guid: it's a long that is generated any way i want . The only condition is this guid is unique. For exampe: 0x60ac754bc0867248L. Is it right ?
EventLogger.register(0x60ac754bc0867248L, "NameMyApplication ", EventLogger.VIEWER_STRING);
String logMessage = "This is an event log";
EventLogger.logEvent( 0x60ac754bc0867248L, logMessage.getBytes() );
Do you think this is correct ?
Thanks.
09-21-2010 08:18 AM
looks ok
09-21-2010 08:31 AM
Thanks you for your help.
It's beautiful , it works
![]()
09-21-2010 09:09 AM
Just another the question if possible.
I saw the event log in the handset (using ALT + LGLG)
But in the "Event Log" windows of Simulator , why didn't I find these Log Event ?
(See the photo)
Thanks for your help.