File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

cant store images

 
Leo Max
Ranch Hand
Posts: 36
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Midlet class


NewClass1.java


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
Posts: 36
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic