jQuery in Action, 3rd edition
The moose likes Java Micro Edition and the fly likes DOWNLOAD IMAGES (.png) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "DOWNLOAD IMAGES (.png)" Watch "DOWNLOAD IMAGES (.png)" New topic


Victoria Rubio

Joined: Dec 20, 2000
Posts: 12
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!!!
Eric Giguere
Ranch Hand

Joined: Oct 25, 2000
Posts: 170
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 Giguere
Author/Co-Author of: Mobile Information Device Profile for Java 2 Micro Edition: Professional Developer's Guide, Java 2 Micro Edition: Professional Developer's Guide and PalmTM Database Programming: The Complete Developer's Guide
I agree. Here's the link: http://aspose.com/file-tools
subject: DOWNLOAD IMAGES (.png)
jQuery in Action, 3rd edition