Powerful Logging in Java ME

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.

Read the full article.

Comments:

your cool

Posted by dominique pierro on November 10, 2009 at 05:03 AM PST #

that hot

Posted by dominique pierro on November 10, 2009 at 05:03 AM 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 12: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 03:35 PM PST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Tips for developers who use Java technologies (Java SE, Java ME, JavaFX) for mobile and embedded devices.

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today