File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java Micro Edition and the fly likes JAD and Manifest entries Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "JAD and Manifest entries" Watch "JAD and Manifest entries" New topic

JAD and Manifest entries

Bryon Phinney

Joined: Aug 17, 2001
Posts: 13
Would someone specify which entries are required and which are optional in the JAD and Manifest files? My understanding is that some entries must be in both.
Valentin Crettaz
Gold Digger

Joined: Aug 26, 2001
Posts: 7610
Download the user's guide and look at Table 1.2 (MIDlets attributes) on page 1-16. You will find all (required/optional) attributes of the JAR and JAD files.

[Blog] [Blogroll] [My Reviews] My Linked In
Eric Giguere
Ranch Hand

Joined: Oct 25, 2000
Posts: 170
Yes, only some of them are required in each case. However, there are some devices/emulators which seem to require more than just the ones listed in the spec. The safest thing seems to be to duplicate all the entries in the manifest in the JAD file as well.
The complete set of attributes for both the application descriptor and the manifest is found on pp.49-52 of my MIDP book.

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:
subject: JAD and Manifest entries
It's not a secret anymore!