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

Create an image using j2me

 
Falcon Ken
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone help me in creating a image in PalmOS Emulator using J2ME?
where i need to put in the image file in which directory?
if possible pls give me the source code.
Thanks
 
Svend Rost
Ranch Hand
Posts: 904
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ken: Can anyone help me in creating a image in PalmOS Emulator using J2ME?
Sure - atleast I'd like to try. Try to take a look at javax.microedition.lcdui.Image

First to need to load the image, myImage, which you use the .createImage() method for. In order to draw myImage you need to invoke Graphics .drawImage() method.

Ken: where i need to put in the image file in which directory?
That's up to you. I usually have a res directory for ressources such as images.

Ken: if possible pls give me the source code.
haha.. funny guy.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic