×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Mar 2003
    Location
    Hyderabad.
    Posts
    99

    How to send Content type to send data to server

    hi,
    I am trying to send different contents like image,audio,video,text from my gallery to server hence to do this i have to send content type along with data in binary format.
    so i have a problem to send content type along with data.
    please help me out by providing the way to send different content type to server.

    regards,
    basu

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Location
    Israel
    Posts
    2,280

    Re: How to send Content type to send data to server

    How are you sending the data?

    With an HttpConnection you can use setRequestProperty() to set a content-type http header.

    shmoove

  3. #3
    Regular Contributor
    Join Date
    Mar 2003
    Location
    Hyderabad.
    Posts
    99

    Re: How to send Content type to send data to server

    I am sending the data in binary format using outputstream
    os.write(data);
    as you said i had sent the content type using setRequestProperty() and now it is working thank you for your suggestion.

    regards,
    vinod.

Similar Threads

  1. GPRS connection problems on 6600..
    By suckho in forum Symbian Networking & Messaging (Closed)
    Replies: 10
    Last Post: 2005-12-02, 14:00
  2. Nokia 6600 Socket Server send delay Problem
    By dicson_hu in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2005-10-31, 07:37
  3. Send updated Server devinf to 3650
    By davegjones1 in forum OMA DM/DS/CP
    Replies: 0
    Last Post: 2004-03-05, 09:58
  4. Replies: 3
    Last Post: 2003-10-10, 09:41

Posting Permissions

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