• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DOWNLOAD IMAGES (.png)

 
Victoria Rubio
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I want to download an application in the actual device. I use files .jar, I have not problems with examples without images (files .png), but examples that contain images are impossible. How do I introduce my .png in the .jar file?. Is it neccesary?
I'm working with Forte for Java, I have my .java and I do a new MIDletSuite for running the application, with this file (.jar) download the application in the device.
What is the diferent between a MIDletSuite and a file .JAR?.
Thank you very much!!!
Victoria.
 
Eric Giguere
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All resources that your MIDlet requires must be found in the JAR file. You just add the file to the JAR file as you would a class file -- a JAR file is really just a ZIP file. Then you refer to the file by its path within the JAR file.
A MIDlet suite is a set of MIDlets packaged into a single JAR file.
Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic