wood burning stoves 2.0*
The moose likes Java Micro Edition and the fly likes cant store images Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "cant store images" Watch "cant store images" New topic

cant store images

Leo Max
Ranch Hand

Joined: Sep 27, 2009
Posts: 36
Midlet class


the result of print is 1,2,2. only the first image gets stored. i checked the images. i created a form inside the startapp method and appended every image into it. i was able to see them no problem. i didnt even have to cast the elements to Image (formx.append(data.elementAt(0));
shouldnt it be 1 2 3? shouldnt i b able to store all the images? the sizes are small. 326 by 92 dimensions.
i checked the size of data1. it downloaded all 3 images.
if i try to print the details of the rms, i only get details for the first pic. the second one doesnt even get stored. how come? i moved the store method to inside newclass so hat everytime an image gets downloaded it gets stored right away. i got an exception. recordstorefull exception. how did that happen? it's only one image. and it's no bigger than 50 or 100kb. thts not right :S
Leo Max
Ranch Hand

Joined: Sep 27, 2009
Posts: 36
i got it to work. friend suggested i download wtk 2.5.2. it worked. same code. i had no idea sdk 3 was buggy o.o
I agree. Here's the link: http://aspose.com/file-tools
subject: cant store images
Similar Threads
network midlet problem
need to create a Navagation Button control using Annotation
wanna send image bytes to server
createImage from url
Sending multiple images