You Are Here:

Community: Wiki

This page was last modified on 23 June 2009, at 04:51.

JAD

From Forum Nokia Wiki

Java Application Descriptor (JAD) is a text file that describes a MIDlet or a suite of them, distributed as a JAR file. The file has a .jad extension and the name is selected by the developer.

This file is useful for the operating system of the mobile phone to detect requirements, names, icons of the application or game to be installed, before download or installing it.

The syntax of the file is:

Key: Value
Key2: Value2

There are a number of mandatory attributes, which need to be in the JAD file (or then in the Manifest file inside the JAR file), but you can also insert your own attributes in the JAD file, to convey information for your MIDlet (like server to connect to, etc.). The only restriction for those attributes is that the keys (attribute names) cannot start with "MIDlet" or "MicroEdition".

Mandatory Information

  • MIDlet-1: defines the class name of the main MIDlet in the JAR.
  • MIDlet-Jar-Size: defines the size (in bytes) of the JAR file to install.
  • MIDlet-Jar-URL: defines the name and URL of the JAR file. It can be just the name of the JAR if it's located in the same place, or a full URL (like http://domain.com/jarfile.jar)
  • MIDlet-Name: defines the name of the suite that appears on the phone main manu
  • MIDlet-Vendor: defines the company who develops the application
  • MIDlet-Version: defines the version number of the application
  • MicroEdition-Configuration: defines the configuration, like CLDC-1.1
  • MicroEdition-Profile: defines the profile used, like MIDP-2.0

Additional Information

*MIDlet-Certificate: If the application is signed, the details are provided
*MIDlet-Jar-RSA : If the application is signed, the details are provided
*MIDlet-LOG-PATH : This is a user defined sample entry, just to provide the filesystem path, so that you don't need to hardcode it anywhere in the source

Links

Related Wiki Articles

No related wiki articles found

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fwikiE2eforumE2enokiaE2ecomE2findeE78E2ephpE2fFileE3aMicrokernelE5fArchitectureE2eGIFX qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqfntypeZWikiContentQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qfnZtypeQUqfntypeZWikiContentQ qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqfntypeZWikiContentQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ