×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Apr 2010
    Posts
    1

    Upload jpeg image to server.

    Hi,

    I was doing a project which uploads the image (jpeg) file to servlet. can u please help me how to do that.



    I found some sample that uplods the file to server,

    http://www.coderanch.com/t/495650/JM...post-method-ME

    How can i convert the jpeg image to byte[] array in j2me?

    please help me on this..

    cheers,

    PM

  2. #2
    Super Contributor
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,326

    Re: Upload jpeg image to server.

    How can i convert the jpeg image to byte[] array in j2me?
    Hi Jitesh

    Welcome to the Forum Nokia Discussion Board.

    This wiki article is useful for you to convert the .jpg image to the byte array : http://wiki.forum.nokia.com/index.ph...o_a_byte_array

  3. #3
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,087

    Re: Upload jpeg image to server.

    Refer to http://stackoverflow.com/questions/5...-back-to-image

    You can use J2me - Image.getRGB() method get int array and convert it in Byte[]
    thanks,
    ~Amitabh
    (Champion of the Month -Aug'13)
    Follow me on my blog for Innovative Mobile Apps

Similar Threads

  1. Upload image to server
    By NightStalkerDNS in forum Mobile Java General
    Replies: 3
    Last Post: 2011-01-21, 06:42
  2. Replies: 3
    Last Post: 2010-02-09, 02:13
  3. Upload Image On Server
    By meet2saurabhmail in forum Symbian
    Replies: 1
    Last Post: 2009-02-07, 14:46
  4. Upload the image to server...
    By pankaj gupta55 in forum Symbian
    Replies: 1
    Last Post: 2008-11-26, 13:31
  5. image upload to server
    By janhu in forum Browsing and Mark-ups
    Replies: 2
    Last Post: 2005-01-16, 04:19

Posting Permissions

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