×
Namespaces

Variants
Actions
(Difference between revisions)

MIDlet JAR Manifest essentials

From Nokia Developer Wiki
Jump to: navigation, search
hamishwillee (Talk | contribs)
m (Hamishwillee - Bot update - Fix ArticleMetaData and minor updates)
hamishwillee (Talk | contribs)
m (Hamishwillee - Add Abstract. Tidy wiki text.)
Line 1: Line 1:
[[Category:Series 40 3rd Edition (initial release)]][[Category:Java ME]]
+
[[Category:Series 40 3rd Edition (initial release)]][[Category:Java ME]][[Category:Deployment/Installation]]
 +
{{Archived|timestamp=20120312111243|user=roy.debjit| }}
 
{{ArticleMetaData <!-- v1.2 -->
 
{{ArticleMetaData <!-- v1.2 -->
 
|sourcecode= <!-- Link to example source code e.g. [[Media:The Code Example ZIP.zip]] -->
 
|sourcecode= <!-- Link to example source code e.g. [[Media:The Code Example ZIP.zip]] -->
Line 5: Line 6:
 
|devices= <!-- Devices tested against - e.g. ''devices=Nokia 6131 NFC, Nokia C7-00'') -->
 
|devices= <!-- Devices tested against - e.g. ''devices=Nokia 6131 NFC, Nokia C7-00'') -->
 
|sdk= <!-- SDK(s) built and tested against (e.g. [http://linktosdkdownload/ Nokia Qt SDK 1.1]) -->
 
|sdk= <!-- SDK(s) built and tested against (e.g. [http://linktosdkdownload/ Nokia Qt SDK 1.1]) -->
|platform= <!-- Compatible platforms - e.g. Symbian^1 and later, Qt 4.6 and later -->
+
|platform= Series 40 3rd Edition (initial release)
 
|devicecompatability= <!-- Compatible devices e.g.: All* (must have internal GPS) -->
 
|devicecompatability= <!-- Compatible devices e.g.: All* (must have internal GPS) -->
 
|dependencies= <!-- Any other/external dependencies e.g.: Google Maps Api v1.0 -->
 
|dependencies= <!-- Any other/external dependencies e.g.: Google Maps Api v1.0 -->
Line 22: Line 23:
 
|author= [[User:Adilb]]
 
|author= [[User:Adilb]]
 
}}
 
}}
{{Archived|timestamp=20120312111243|user=roy.debjit| }}  
+
   
 
==Overview==
 
==Overview==
The manifest provides information about the contents of the JAR file.MIDP implementations MUST implement handling of lines longer than 72 bytes as defined in the manifest specification. An attribute MUST not appear more than once within the manifest. If an attribute is duplicated the effect is unspecified. Manifest attributes are passed to the MIDlet when requested using the MIDlet.getAppProperty method, unless the attribute is duplicated in the application descriptor
+
{{Abstract|The manifest provides information about the contents of the JAR file.}} MIDP implementations MUST implement handling of lines longer than 72 bytes as defined in the manifest specification. An attribute MUST not appear more than once within the manifest. If an attribute is duplicated the effect is unspecified. Manifest attributes are passed to the MIDlet when requested using the {{Icode|MIDlet.getAppProperty}} method, unless the attribute is duplicated in the application descriptor
  
 
==Must Have Attributes==
 
==Must Have Attributes==
MIDlet-Name :The name of the MIDlet suite<br/>
+
* MIDlet-Name :The name of the MIDlet suite
MIDlet-Version :The version number of the MIDlet suite.<br/>
+
* MIDlet-Version :The version number of the MIDlet suite.
MIDlet-Vendor :The name of vendor that provides/creates the MIDlet suite.
+
* MIDlet-Vendor :The name of vendor that provides/creates the MIDlet suite.
<br/>
+
* MIDlet-<n> for each MIDlet :The name, icon, and class of the nth MIDlet in the JAR file separated by a comma. The lowest value of <n> MUST be 1 and consecutive ordinals MUST be used. The first missing entry terminates the list. Any additional entries are ignored. Leading and trailing spaces in name, icon and class are ignored.
MIDlet-<n> for each MIDlet :The name, icon, and class of the nth MIDlet in the JAR file separated by a comma. The lowest value of <n> MUST be 1 and consecutive ordinals MUST be used. The first missing entry terminates the list. Any additional entries are ignored. Leading and trailing spaces in name, icon and class are ignored. <br/>
+
* MicroEdition-Profile :The MIDprofile veing used eg:MIDP1.0
MicroEdition-Profile :The MIDprofile veing used eg:MIDP1.0<br/>
+
* MicroEdition-Configuration :The Configuration being used eg:CLDC1.0
MicroEdition-Configuration :The Configuration being used eg:CLDC1.0<br/><br/>
+
  
 
==May contain Attributes==
 
==May contain Attributes==
MIDlet-Description :Usually a short discription about the midlet<br/>
+
* MIDlet-Description :Usually a short discription about the MIDlet
MIDlet-Icon :Its the absolute name of a PNG file within the JAR used to represent the MIDlet suite. It is the icon that the AMS(Application Management Software) displays .
+
* MIDlet-Icon :Its the absolute name of a PNG file within the JAR used to represent the MIDlet suite. It is the icon that the AMS(Application Management Software) displays.
<br/>
+
* MIDlet-Info-URL :A URL for information describing the MIDlet suite.
MIDlet-Info-URL :A URL for information describing the MIDlet suite.<br/>
+
* MIDlet-Data-Size :The data storage size that can be used eg:1024
MIDlet-Data-Size :The data storage size that can be used eg:1024<br/>
+
* MIDlet-Permissions :Zero or more permissions that are critical to the function of the MIDlet suite.  
MIDlet-Permissions :Zero or more permissions that are critical to the function of the MIDlet suite. <br/>
+
* MIDlet-Permissions-Opt :Zero or more permissions that are non-critical to the function of the MIDlet suite.  
MIDlet-Permissions-Opt :Zero or more permissions that are non-critical to the function of the MIDlet suite. <br/>
+
* MIDlet-Push-<n> :Register a MIDlet to handle inbound connections.
MIDlet-Push-<n> :Register a MIDlet to handle inbound connections.<br/>
+
* MIDlet-Install-Notify : The URL to be notified after installation of MIDlet
MIDlet-Install-Notify : The URL to be notified after installation of MIDlet<br/>
+
* MIDlet-Delete-Notify : The URL to be notified after deletion of MIDlet
MIDlet-Delete-Notify : The URL to be notified after deletion of MIDlet<br/>
+
* MIDlet-Delete-Confirm
MIDlet-Delete-Confirm<br/>
+
 
Any application-specific attributes that do not begin with MIDlet- or MicroEdition- which can be read later in code<br/>  
 
Any application-specific attributes that do not begin with MIDlet- or MicroEdition- which can be read later in code<br/>  
  

Revision as of 07:04, 13 March 2012

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

Article Metadata
Compatibility
Platform(s): Series 40 3rd Edition (initial release)
Series 40
Series 40 3rd Edition (initial release)
Article
Created: adilb (25 May 2007)
Last edited: hamishwillee (13 Mar 2012)

Contents

Overview

The manifest provides information about the contents of the JAR file. MIDP implementations MUST implement handling of lines longer than 72 bytes as defined in the manifest specification. An attribute MUST not appear more than once within the manifest. If an attribute is duplicated the effect is unspecified. Manifest attributes are passed to the MIDlet when requested using the MIDlet.getAppProperty method, unless the attribute is duplicated in the application descriptor

Must Have Attributes

  • MIDlet-Name :The name of the MIDlet suite
  • MIDlet-Version :The version number of the MIDlet suite.
  • MIDlet-Vendor :The name of vendor that provides/creates the MIDlet suite.
  • MIDlet-<n> for each MIDlet :The name, icon, and class of the nth MIDlet in the JAR file separated by a comma. The lowest value of <n> MUST be 1 and consecutive ordinals MUST be used. The first missing entry terminates the list. Any additional entries are ignored. Leading and trailing spaces in name, icon and class are ignored.
  • MicroEdition-Profile :The MIDprofile veing used eg:MIDP1.0
  • MicroEdition-Configuration :The Configuration being used eg:CLDC1.0

May contain Attributes

  • MIDlet-Description :Usually a short discription about the MIDlet
  • MIDlet-Icon :Its the absolute name of a PNG file within the JAR used to represent the MIDlet suite. It is the icon that the AMS(Application Management Software) displays.
  • MIDlet-Info-URL :A URL for information describing the MIDlet suite.
  • MIDlet-Data-Size :The data storage size that can be used eg:1024
  • MIDlet-Permissions :Zero or more permissions that are critical to the function of the MIDlet suite.
  • MIDlet-Permissions-Opt :Zero or more permissions that are non-critical to the function of the MIDlet suite.
  • MIDlet-Push-<n> :Register a MIDlet to handle inbound connections.
  • MIDlet-Install-Notify : The URL to be notified after installation of MIDlet
  • MIDlet-Delete-Notify : The URL to be notified after deletion of MIDlet
  • MIDlet-Delete-Confirm

Any application-specific attributes that do not begin with MIDlet- or MicroEdition- which can be read later in code

See also

139 page views in the last 30 days.