Solved

Logging errors

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
javap bin 2 41
difference of if loops 23 62
maven module vs maven project 3 47
Java: anonymous class 4 29
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…
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 …
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

829 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