• 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 issued. i've checked the location of my image but it still displays the message.can anyone tell me what might be its cause?
thanks in advance.
 
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
 
Michael Yuan
author
Ranch Hand
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kobe:
I think David already asnwered your previous post, which asked the exact same question. It would save all of us time and trouble if you could check your own previous thread first and follow up on that. (If you follow up on a previous thread, it will be brought up to the top -- there is no need to post a new one.)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic