×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Oct 2003
    Location
    Bangladesh
    Posts
    41

    System.out.println

    if i make a game and i use system.out.println for debugging purpose,
    will it work if i use that game in actual phone?

    can u please tell me some of the things that should be noted before usinf it in the actual phone?

    Some advices will be very helpful.
    thank you.

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Location
    Israel
    Posts
    2,280
    It won't be doing anything on the real phone.
    There are a few phones (some Sony Ericsson and Motorola handies I think) that support on the phone debugging where you can hook the phone up to the computer with a serial cable and see all the System.out.println()s on a hyperterminal window, but on most phones it does nothing. You have to find a different way to debug on the phone itself, either printing information to the screen or saving information to a buffer and then to the RMS so you can see it later.

    shmoove

  3. #3
    Registered User
    Join Date
    Oct 2003
    Location
    Bangladesh
    Posts
    41
    ok, thanks.
    but my game is not running in the mobile.
    it was installed, but when i ran it,
    it said:System error.


    how to run it???
    what may be the problem??

  4. #4
    Super Contributor
    Join Date
    Mar 2003
    Location
    Israel
    Posts
    2,280
    It's hard to say. Doesn't it give you any more info.
    I'd say you're using too much heap, but that usually gives an "Unable to run application" error.
    Are you able to install the application successfully? Does the error happen as soon as you open the game? Does it happen in the middle of the game? Does the game run in the emulator? What emulator? What phone are you trying to run it in? Are you using any extension APIs?

    shmoove

Posting Permissions

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