Solved

Logging errors

Posted on 2008-06-10
2
206 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 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

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…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

749 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