×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor
    Join Date
    Dec 2005
    Posts
    62

    Smile hw will get byte array of an image -urgent

    hi all

    how i can get byte array of an image from a location using http connection,i mean hw i will read the byte array from the location using inputstream?

    rakesh

  2. #2
    Super Contributor
    Join Date
    Mar 2006
    Posts
    516

    Re: hw will get byte array of an image -urgent

    Hi rak,

    Hope this is what u r looking for
    http://www.corej2me.com/DeveloperRes...ng/index.shtml


    Wang

  3. #3
    Regular Contributor
    Join Date
    Dec 2005
    Posts
    62

    Re: hw will get byte array of an image -urgent

    hi friend,

    will u help in coding,to get ringtone(midi),to get from a server location.that means a generalized approach to get data fron a server location.

    thanks for ur 1st reply
    rakesh

  4. #4
    Super Contributor
    Join Date
    Feb 2006
    Posts
    689

    Re: hw will get byte array of an image -urgent

    Hi rakesh,
    can ypu plz elaborate your requirement.there are both vendor specific methods and other methods for creating images.We will surely help you.
    Thanks
    Soku

  5. #5
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,429

    Re: hw will get byte array of an image -urgent

    Rakesh,
    You can try using Connector.open() method. The code in the link Wang have pointed would help downloading a file. In that example it was for downloading a Image, just modify it to download a MIDI. May be this link is of some help.
    MIDP Network Programming using HTTP and the Connection Framework
    http://developers.sun.com/techtopics...icles/network/

    Regards
    Gopal

  6. #6
    Regular Contributor
    Join Date
    Dec 2005
    Posts
    62

    Re: hw will get byte array of an image -urgent

    tanks gopal. The link u snt is helpful.
    rakesh

Similar Threads

  1. hw will get byte array of an image -urgent
    By rak_eshz in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2006-05-29, 16:15
  2. DOJA appli -> Create Image from Byte Array
    By teamore in forum Mobile Java General
    Replies: 2
    Last Post: 2004-10-29, 11:14
  3. Reading from Image Object to a Byte Array
    By Ghouse in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2003-06-13, 18:02
  4. Replies: 1
    Last Post: 2003-04-22, 13:56
  5. Loading images from byte array on 6130i
    By enlightment in forum Mobile Java General
    Replies: 2
    Last Post: 2002-06-05, 19:44

Posting Permissions

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