Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Downloading png images to mobile

 
Joel Karimpil
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is the best way to download images to the mobile from the server?
can anyone give some link to sample code?
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are these static images for your MIDlet, if so, just include them in the jar file. Otherwise I suggest using the HTTPConnection to get the image.

Mark
 
Joel Karimpil
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mark, this is for downloading from server.
so i am using http.
but i need to show it in a particular size on the device.
i just got some code for resizing an image.
btw...
i need to know that when we can display a jpg image why do we go in for the png format.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic