×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Nov 2005
    Posts
    22

    Redirecting System.out

    Is there a mean to redirect System.out call ?
    Thx

  2. #2
    Registered User
    Join Date
    Dec 2005
    Location
    Brazil
    Posts
    1,884

    Re: Redirecting System.out

    Hi guimel,

    I'm not sure of what exactly you want but check this doc:

    Series 60 2nd Edition SDK for Symbian OS Supporting Feature Pack 3 for MIDP; Guide for System.out and System.err Redirection to PC
    http://www.forum.nokia.com/info/sw.n...50905.pdf.html

    "Series 60 FP3 SDK provides a possibility to view on the PC the System.out and System.err streams used by a MIDlet running on a phone, with the help of the device connectivity tool. All necessary settings to enable the feature are described in chapter 2. The ability of viewing System.out and System.err streams on the PC gives additional means of MIDlet debugging on the real phone.
    System.out and System.err streams, which are written to by a MIDlet under a test, are captured by a special redirector MIDlet, running simultaneously with the MIDlet under test. Redirector MIDlet sends the data using the PC connectivity Symbian application and a Bluetooth connection to the device connectivity tool running on a PC."

    BR

  3. #3
    Regular Contributor
    Join Date
    Mar 2005
    Posts
    249

    Re: Redirecting System.out

    Not on the phone unfortunately.

    You will either have to use Alerts, or text written onto a Form/Canvas or if you so wish, write to a File if your phone support FileConnection. Though I've never tried that last solution....

  4. #4
    Super Contributor
    Join Date
    Mar 2006
    Posts
    516

    Re: Redirecting System.out

    Hi,

    it will be better to write the error messages into a file and save it to the filesystem using JSR 75.

    Wang

Similar Threads

  1. System.out messages
    By kuhnmi in forum Mobile Java General
    Replies: 0
    Last Post: 2005-09-22, 14:55
  2. On-device debugging (showing system.out)
    By bercobeute in forum Mobile Java General
    Replies: 1
    Last Post: 2005-09-01, 16:14
  3. redirect.sis for 6600 to catch System.out
    By bercobeute in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2004-10-14, 21:57
  4. Redirecting in WML
    By alimceed in forum Browsing and Mark-ups
    Replies: 1
    Last Post: 2004-05-24, 11:51
  5. Where goes System.out in Nokia 6310i?
    By tepaa in forum Mobile Java General
    Replies: 3
    Last Post: 2002-09-02, 10:25

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×