[Logo]
Forums Register Login
how to get image from java to j2me
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?
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.
thnx i got it..
The only taste of success some people get is to take a bite out of you. Or this tiny ad:
ScroogeXHTML 7.1 - RTF to HTML5 / XHTML converter
https://coderanch.com/t/690611/ScroogeXHTML-RTF-HTML-XHTML-converter


This thread has been viewed 844 times.

All times above are in ranch (not your local) time.
The current ranch time is
Feb 19, 2018 14:54:13.