×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Regular Contributor
    Join Date
    Mar 2007
    Posts
    104

    equivalent of println in j2me?

    Hello everyone,

    i am looking for a way to use something like println in the emulator while testing my application.

    Is there something like the epocwind.out in Symbian for java and if so wwith what function do i write to it?

    Or is there a way to write straight to the console?

    Thx a lot for any hints:-)

  2. #2
    Registered User
    Join Date
    May 2007
    Location
    Poland
    Posts
    606

    Re: equivalent of println in j2me?

    Hello,

    Everything depends on what kind of display do you use,
    if you use:
    canvas you will have to draw string on the screen
    form you will have to append string on the screen form.append(string)
    list you will have to append string on the screen form.append(string,null)

    good luck

  3. #3
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,429

    Re: equivalent of println in j2me?

    If you are using a canvas based app, One way is to draw it on the canvas using drawString() ; If using a Form based application you can try appending the println values to the form. (hmm not a better solution though...)

    Also have a look at On-Device Debugging with Carbide.j 1.5
    http://www.forum.nokia.com/info/sw.n..._1_en.exe.html
    But Carbide.J has been archived.

    Regards
    Gopal

    __________________
    MobiQuil.com
    An initiative by Developers for Developers.
    http://www.mobiquil.com - Alpha - Launched.

  4. #4
    Super Contributor
    Join Date
    Mar 2003
    Location
    Israel
    Posts
    2,280

    Re: equivalent of println in j2me?

    What has System.out.println() done wrong to you people? (The OP asked about the emulator, so that should do, right?)

    shmoove

  5. #5
    Regular Contributor
    Join Date
    Mar 2007
    Posts
    104

    Re: equivalent of println in j2me?

    Ops:-)

    System.out.println does work:-)
    Last edited by Rozik; 2007-07-27 at 08:39.

Similar Threads

  1. is there a File class equivalent in J2ME?
    By rj_cybersilver in forum Mobile Java General
    Replies: 47
    Last Post: 2009-10-23, 16:14
  2. Symbian C++ Equivalent of J2ME RecordStore
    By anmian in forum Symbian
    Replies: 6
    Last Post: 2007-05-15, 14:37
  3. How can the WAP browser communicate to J2ME application?
    By hbfornies in forum Mobile Java General
    Replies: 20
    Last Post: 2007-03-02, 16:32
  4. File Class Equivalent in j2me?
    By rj_cybersilver in forum Mobile Java General
    Replies: 8
    Last Post: 2005-04-05, 01:04
  5. J2ME Polish Version 1.0 RC6
    By enough in forum Mobile Java General
    Replies: 1
    Last Post: 2004-07-20, 11: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
  •  
×