Reputation: 1200
I am working on a menu with just simple image
Image x = Image.createImage("numbers.png");
listMenu.append(counter, x);
it's working well on the emulators with the Micro Edition SDK 3 but when I use the Nokia emulator S40 or deploy to my mobile S60 it's not working, it gave me "Cannot read numbers.png"
any ideas?
Upvotes: 0
Views: 576
Reputation: 8671
I recommend you put your images in a res
folder in your MIDlet's root directory. Your createImage()
call then becomes:
Image x = Image.createImage("/res/numbers.png");
Upvotes: 2