Solved

Logging errors

Posted on 2008-06-10
2
203 Views
Last Modified: 2010-08-05
Hi,

I have a midlet, and am just printing debug statements via System.out.println(). That doesn't help when on an actual phone as far as I can tell. Is there a way to direct the output to someplace I can actually see it when my midlet is actually running on the phone?

Thanks
0
Comment
Question by:DJ_AM_Juicebox
2 Comments
 
LVL 7

Accepted Solution

by:
humanonomics earned 500 total points
ID: 21756198
It can be done in two ways.

1st Find some logging mechanism (which is very rare for J2ME) but I found one "http://www.enoughsoftware.com/docs/tutorial.html"

2nd have your own logging mechanism, wherein instead of sysouts, you actually append your logging statements to a file on the mobile itself.

Hope this helps.
Thanks
~Humanonomics.
0
 
LVL 13

Expert Comment

by:MicheleMarcon
ID: 21757330
If you have bluetooth you can send output to the bluetooth serial port.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now