×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jan 2011
    Posts
    3

    Midlet Servlet Communication.. uploading multimedia data

    Hi,

    I have a midlet and a website implemented using servlet.I need to upload and download text (with image/audio) posts from the midlet to/from the server via the servlet ..
    I completed the text part of this.
    i just need to know how image and audio can be sent to/from midlet to servlet..

  2. #2
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Re: Midlet Servlet Communication.. uploading multimedia data

    Whatever you wanna upload on the server, you convert the same in the byte array and using the Output stream write the same. This is very common topic and has been discussed many times. Search forum or the web.

    1.Conver the Image/media file in the byte array,
    2.Using the out stream write the data to the stream.
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

Similar Threads

  1. How to send data from Midlet to Servlet?
    By rastoarpit in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2010-07-12, 05:47
  2. Sending Data from MIDlet to Servlet
    By kai_buki in forum Mobile Java Networking & Messaging & Security
    Replies: 13
    Last Post: 2009-05-21, 10:03
  3. how to send data from midlet to servlet
    By virendra85 in forum Mobile Java General
    Replies: 7
    Last Post: 2009-02-11, 05:48
  4. midlet servlet communication questions
    By shydisturbedboy in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2007-10-16, 18:33
  5. problem in uploading the data from MIDLet to server
    By hsjha in forum Mobile Java General
    Replies: 1
    Last Post: 2004-01-06, 09:46

Posting Permissions

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