×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Sep 2008
    Posts
    3

    concurrent http connection on N80

    Hi,

    I developed an application Midlet on N80 which has to be connected to a PC via http all the time while it is running. Within this midlet, I need to open another http connection to fetch and play a video file. This forms a concurent http connection situation. And the http connection for video file never succeed. So my question is, though it is said up to 4 http connection can be allowed by MIDP, the N80 firmware can only allow one http connection at a time? If it is not, how can I make it work?

    Thanks
    Surnlry

  2. #2
    Regular Contributor
    Join Date
    Aug 2007
    Location
    India
    Posts
    83

    Re: concurrent http connection on N80

    i think u need to open second connection in separate thread.

    Hope u doing that.

  3. #3
    Registered User
    Join Date
    Sep 2008
    Posts
    3

    Re: concurrent http connection on N80

    I tried, using a new thread for the second connection made no difference. It still did not work.

    Thanks
    Surnlry

  4. #4
    Registered User
    Join Date
    Sep 2008
    Posts
    3

    Re: concurrent http connection on N80

    Update. I made it work. What I found out is

    1) Normal run worked whereas a new thread did not work.
    2) I got rid of the Midlet-permissions for http, socket, serversocket etc.

    I am not convinced, but it worked.

    Surnlry

Similar Threads

  1. Single http connection Object for multiple requests
    By J2me_champ in forum Mobile Java General
    Replies: 4
    Last Post: 2008-03-11, 11:42
  2. How to create Http Connection by specifying the client port?
    By SYTDeath in forum Mobile Java Networking & Messaging & Security
    Replies: 6
    Last Post: 2008-01-09, 18:35
  3. How to cancel a http connection mid-way
    By capricious28 in forum Mobile Java General
    Replies: 0
    Last Post: 2007-08-10, 10:42
  4. Replies: 2
    Last Post: 2006-10-06, 17:24
  5. Nokia and Vodafon Italy --> No http connection
    By javame in forum Mobile Java General
    Replies: 0
    Last Post: 2002-11-28, 13:57

Posting Permissions

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