Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Mar 2003
    Location
    IL/USA
    Posts
    341

    Question 6630 and Http -- Nokia PLEASE HELP ME -- URGENT URGENT!!!!

    Hello,
    I am using 6630 firmware: V 4.03.38 25-04-05 RM-1
    I am posting to website and I know there there should be a response back from the server but when I do
    Code:
    InputStream in = con.openInputStream ();
    int c = 0;
    c = in.read();
    c is always -1. Is this a known bug? and con.getLength() is -1. I ran it on phone with fw: 3.45 and it works fine. also works on 6600!!!!

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Location
    IL/USA
    Posts
    341

    Red face Re: 6630 and Http -- Nokia PLEASE HELP ME -- URGENT URGENT!!!!

    Problem Solved, there was a bug in web site and there is a bug in nokia firmware v4.03, I think. I solved it by fixing web site. It appears if website doesn't set Content-length this version of firmware assumes that there is no data to read and returns -1 when i try to read page contents regardless if there is data or not. firmware bug i think.

    Clue: regression testing, regression testing and more regression testing will help eliminate firmware bugs like these.
    Last edited by earamsey; 2005-12-02 at 22:21.

Similar Threads

  1. 6630 and HTTP -- URGENT
    By earamsey in forum Mobile Java General
    Replies: 0
    Last Post: 2005-11-27, 21:05
  2. Nokia 7270 HTTP Connection
    By mshita in forum Mobile Java General
    Replies: 1
    Last Post: 2005-08-24, 19:42
  3. Nokia 6630 OutOfMemory problem
    By helenagin2 in forum Mobile Java General
    Replies: 4
    Last Post: 2005-06-30, 16:37
  4. http: application/sdp in 6630 = java streaming?
    By skjolber in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2005-01-28, 11:18
  5. Browsing the Inbox of a Nokia 6630 using JSR-75?
    By f94os in forum Mobile Java General
    Replies: 2
    Last Post: 2004-12-29, 06:35

Posting Permissions

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