Andreas,
I'm not sure you need the leading "/" in your Image creation code. But,
I'm also wondering why you are getting zero length images. Can you try
do a clean build and see what you get? The zero length images just
don't sound right (or good).
Craig
Andreas Wüst wrote:
> Hello,
>
> where do i have to place my images so i can access them from the midlet
> using the
> emulator ?
>
> im accessing my image the following way :
>
> try {
> img = Image.createImage("/c2_b.png");
> } catch (IOException e) {
> // e.printStackTrace();
> System.out.println(e.getMessage());
> }
>
> however the midlet does not find the image. if i put the image into my
> source directory
> i can see that the images show up in the verified/classes directory.
> however the files have the
> size 0 byte.
>
> any ideas ?
>
> regards,
> Andreas
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Eclipseme-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/eclipseme-users
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Eclipseme-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/eclipseme-users