×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Apr 2003
    Posts
    10

    Sun's example of J2ME & Networking.

    Hi,

    I'm new to J2ME and have probably missed something quite trivial.

    I've built Sun's demo's as came with Sun's WTK1.04 toolkit.

    On my Nokia 7650 phone, I installed the application and ran it to play arround with the networking and bits. Upon selecting to either GET or POST, I get the choice of how to connect, so I choose the normal WAP connection, and nothing happens.

    After investigating closer I find the application blocking on the line of getting an input stream from the connection.
    I've tried waiting for a little while, but nothing!

    Can somebody tell me why?

    Many thanks,

    Nick.

  2. #2
    Registered User
    Join Date
    Apr 2003
    Posts
    10

    Examples

    Maybe you have some code connecting to the http protocol that works on the 7650 phone?
    If so, could you show me how you've got yours working please?

  3. #3
    Registered User
    Join Date
    Apr 2003
    Posts
    2

    Nokia 7650 IOException: Status =-9

    I have the same configuration in use and the same problem, Nokia 7650 with GSM Analog Data connection over Kanel 1.2.1 WAP Gateway. The sample from Sun that you have tried, and the Network Midlet Sample from Nokia Forum produces the IOException: Status =-9 when httpconnection is used.

    Could the problem be in the network not supporting http or something?

  4. #4
    Registered User
    Join Date
    Nov 2003
    Posts
    31

    Re: Sun's example of J2ME & Networking.

    Your phone might require that the http connection is done in a separate thread. The exmpamples in WTK1.04 probably doesn't do that.

Posting Permissions

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