• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

how to get image from java to j2me  RSS feed

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
friends please help me with this problem
i connected a j2me application with a jdbc application...it retreives an image and sends it as bytes to the j2me application but the j2me application displays an error message saying
java.lang.error ut of memory
what shall i do?
 
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Indeed you may be downloading an image that is too large for the device. Do you know the size of the image that your are downloading?

Try sending the width and height of the display to the server when requesting the image. You could the scale the image according to the dimensions on the server and send back a much smaller file.
 
pradeepu nair
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thnx i got it..
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!