By Johan Karlsson
You have just developed your new cool MIDlet, the one that is going to rule the world. It runs like a well oiled machine on the emulator. But when you download and install it on your target device, the MIDlet seems to take ages to start up. Finally, you see the splash screen. Oh no! The MIDlet crashes and you get an error pop-up saying "Application Error," and the MIDlet shuts down. What happened? This is not the way you pictured it. Is there something that shows what really happened behind the scenes?
Have you been in a situation like this? Have you ever wanted to log from your MIDlet? Read on, and I will teach how to add powerful logging to your MIDlets.
You may have considered doing your own logging facility. But why not use an existing solution: The Microlog open-source logging library. It is based on the well known Log4j API or logging library, but has been created from the ground up with Java ME limitations in mind.
your cool
Posted by dominique pierro on November 10, 2009 at 01:03 PM PST #
that hot
Posted by dominique pierro on November 10, 2009 at 01:03 PM PST #
I just read the full post and found it very good. I must say that I got to learn a lot from it. There were stepwise instructions, which made it easier to understand. Thank you for sharing such useful information. Keep up the good work.
Posted by keyboard on November 12, 2009 at 08:42 PM PST #
Hi,
I am glad that you liked the article. I hope that Microlog will help you in your daily work.
Cheers
Johan
Posted by Johan Karlsson on November 12, 2009 at 11:35 PM PST #