Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Oct 2005

    Smile Solution for http problem on new nokia phone

    Hi to all,
    as you will have read in the last message, i have had a problem with connection http on 6680 and 6630..
    Finally I'm successful to find one solution ....:-))
    The response of get request did not come read from the 6680 and 6630 while for the others yes.this problem has been found from many other developers.
    After a lot of tests they are successful to read GET with the 6680 ....
    1) In the new Nokia Phone when the byte flow is read is it is NECESSARY to make it with one mask the aim to extract the correct byte :

    byte flow[] = new byte[((int)len)];
    int n = is.read(flow, 0, flow.length);
    for (int i = 0; i < n; i++) {
    ch = flow[i] & 0x000000ff;
    len = connection.getLength(), the size of data
    Attention ! also LEN must be masked

    In this way all the characters correctly are read !
    According to mine , the problem was the lack of the mask!
    Attention to another problem of N70, the redirect (code 302)...but for this enough to use one script of redirect through Locations'http_headers..
    Hi to all,
    Nicola Palmieri
    Integra Solutions Napoli - K4m

  2. #2
    Registered User
    Join Date
    Nov 2003

    Re: Solution for http problem on new nokia phone

    That method won't work for me.. but I have overcome by set the content-length header at the server script. Just for your information.

    ref : http://discussion.forum.nokia.com/fo...d.php?p=208417

  3. #3
    Regular Contributor
    Join Date
    Jun 2003

    Re: Solution for http problem on new nokia phone

    hi Nicola,
    can your method read http 302 correctly on s60 like 6630,6680 etc?

Similar Threads

  1. J2ME: Problem in Nokia Solution for a media problem
    By mte01 in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2005-08-12, 11:30
  2. Ipaq HP 5450, Bluethooth to Nokia Phone 6310i
    By howaboutthis in forum Bluetooth Technology
    Replies: 0
    Last Post: 2003-06-30, 10:10
  3. Replies: 1
    Last Post: 2003-03-17, 02:07
  4. More than one NOKIA phone on same PC
    By dheeraj_anand in forum General Messaging
    Replies: 1
    Last Post: 2002-09-18, 09:19
  5. Solution Needed for nokia 9210 interface problem
    By nsobioha in forum Symbian User Interface
    Replies: 0
    Last Post: 2002-09-13, 12:01

Posting Permissions

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