Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Image:Couldn't Find Resource

 
Kobe Phenom
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would like to display an image in a midlet,however,when i try to create an image, an error message : "couldn't find resource" is displayed.i have checked the location of my image but it still doesn't work. can anyone tell me what maybe wrong?thanks in advance.
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this to the J2ME forum. Please continue this discussion there. Thank you
 
David Price
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This sounds like it might be the familiar problem of not having an 'absolute path' for your image. I.e., you should call:

If you leave off the initial '/', the VM goes looking for the resource in some strange place not actually specified in the MIDP spec.
David
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic