?
Solved

Logging errors

Posted on 2008-06-10
2
Medium Priority
?
211 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 7

Accepted Solution

by:
humanonomics earned 2000 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Suggested Courses
Course of the Month15 days, 10 hours left to enroll

743 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