Nokia的S60和S40系列jad和jar manifest的属性列表见下,也可参见原文:
The following JAD and JAR manifest attributes are specified for
Symbian devices.
Attribute name |
Since Symbian Edition |
Description |
Value |
---|---|---|---|
MIDlet-Data-Size |
S60 3rd Edition FP1 |
Used at installation time to determine whether the destination The amount of RMS Installation is allowed only to drives |
S60 3rd Edition FP1 and earlier: The maximum value is 1MB S60 3rd Symbian^3 and |
Nokia-Forward-Lock |
Symbian^3 (Java Runtime 2.1) |
Specifies whether the MIDlet suite in the MIDlet Message If this attribute is set to This is an optional attribute. For |
Possible values:
Example:
|
S60 5th Edition |
Allows MIDlet to force either portrait or landscape UI orientation. |
|
|
S60 3rd Edition FP 2 |
Specifies MIDlet behavior to background event. If By default the attribute value is Note: When designing the MIDlet, take into account that |
Example:
|
|
Nokia-MIDlet-Block-Uninstall |
S60 3rd Edition FP 2 |
Prevents uninstallation of the MIDlet Suite if value of Only Manufacturer Note: This attribute must be specified in the JAR manifest file. |
Example:
|
Nokia-MIDlet-Canvas-Scaling-Orientation-Switch |
S60 3rd Edition FP 2 |
For an illustration, see figure LCDUI Canvas scaling Note: Behavior of combination |
Example:
|
Nokia-MIDlet-Category |
S60 2nd Edition |
Defines localized installation folder for MIDlet. |
Possible values:
|
Symbian^3 (Java Runtime 2.1) |
Specifies the localized confirmation prompt shown by the Application Management For a list of supported locales, see section Supported locales. For |
Examples:
|
|
Nokia-MIDlet-Flip-Close |
S60 3rd Edition FP 2 |
Specifies MIDlet behavior on flip-close event. If By default the attribute value Note: If a MIDlet is already in background, it does Note: In some cases, MIDlets may remain in background when the flip Attribute |
Example:
|
Nokia-MIDlet-Launch-Params |
Symbian^3 (Java Runtime 2.1) |
Specifies the set of parameters that the application supports For more information, see Launching a MIDlet |
Comma separated list of property names. Example:
|
Nokia-MIDlet-Name-<locale> |
Symbian^3 (Java Runtime 2.1) |
The localized name of the MIDlet suite for the specified For more information, see MIDlet name localization |
Examples:
|
Nokia-MIDlet-<n>-<locale> |
Symbian^3 (Java Runtime 2.1) |
The localized name of the MIDlet. For more information, |
Examples:
|
S60 3rd Edition FP 2 |
Prevents the MIDlet from closing via pressing the End key. |
Example:
|
|
S60 5th Edition |
Specifies the on-screen keypad for a This attribute is valid |
Example:
|
|
S60 5th Edition (Java Runtime 1.4) |
Defines where softkeys are placed on the screen when using |
|
|
Nokia-MIDlet-Original-Display-Size |
S60 3rd Edition |
Specifies the resolution for which the MIDlet was designed. |
Example:
|
S60 3rd Edition FP 2 |
This attribute changes the default Selection key behavior By default, normal mode If this |
Example:
|
|
Symbian^3 (Java Runtime 2.1) |
Defines the custom start-up screen ("splash screen") used by the MIDlet. This attribute can also be |
Examples:
|
|
S60 5th Edition (Java Runtime 1.4) |
Sets the size of tap detection area and tap time-out on Touch UI devices. If the pointer stays pressed The detection area is a rectangle, measured in twips. The entered value is half the length of one side of the rectangle. |
Size of the detection rectangle in twips and time-out value Example:
|
|
S60 3rd Edition |
Specifies the target size for the MIDlet. This is usually |
Example:
|
|
Nokia-MIDlet-UID-<n> |
S60 3rd Edition FP 2 |
Predefined UID (Unique UID can be from following ranges:
Note: In the case the UID is from protected range, the MIDlet For more information on UID values in MIDlet development, |
Examples:
|
Nokia-Scalable-Icon (and Nokia-Scalable-Icon-MIDlet-<n>) |
S60 3rd Edition FP 2 |
Specifies scalable MIDlet icon support. When developing For more information, see Scalable icon support. |
Example:
|
S60 3rd Edition FP 2 |
Specifies the following:
Note: The attribute value is a comma-separated list, so several |
Examples:
|
The following JAD and JAR manifest attributes are specified for
Series 40 devices.
Attribute name |
Since Series 40 Edition |
Description |
Value |
---|---|---|---|
Nokia-MIDlet-Background-Exit-Confirm-<locale> |
Series 40 6th Edition |
Prompt to use in a confirmation before stopping a background Note: Background MIDlets |
Example:
|
Nokia-MIDlet-bg-launchpad |
Series 40 5th Edition FP 1 |
Indicates MIDlet-n in the suite that is a launchpad MIDlet Note: Background MIDlets are enabled only for |
Example:
|
Nokia-MIDlet-bg-memory-size |
Series 40 3rd Edition FP 2 |
Indicates that the MIDlet can run in the background and Note: Background MIDlets are enabled only for operator and manufacturer |
Integer Example:
|
Nokia-MIDlet-bg-server |
Series 40 5th Edition FP 1 |
Indicates MIDlet-n in the suite that is a BG server. Note: Background MIDlets are enabled only for operator and manufacturer |
Example:
|
Nokia-MIDlet-bg-user-disable |
Series 40 5th Edition FP 1 |
Indicates if the MIDlet can be stopped by the user to free Note: Background MIDlets are enabled only for operator and manufacturer |
Example:
|
Nokia-MIDlet-bg-version |
Series 40 6th Edition |
Indicates the background API version required to run the Note: Background MIDlets are enabled only for operator |
Example:
|
Nokia-MIDlet-Category |
Series 40 6th Edition |
Used to determine the folder to which MIDlets are stored Note: This is a JAD only attribute |
Possible values:
|
Nokia-MIDlet-Category |
Series 40 6th Edition |
|
Example:
|
Nokia-MIDlet-Close-Gprs-Context |
Series 40 5th Edition FP 1 |
If set to |
Example:
|
Nokia-MIDlet-Connectionsettings |
Series 40 6th Edition Lite |
Provides an identifier string for provisioned connection The given identifier provides one-to-one mapping The identifier strings are If settings are not |
|
Nokia-MIDlet-Name-<locale> |
Series 40 3rd Edition |
Localized MIDlet suite name For more information, |
Example:
|
Nokia-MIDlet-Name-n-<locale> |
Series 40 3rd Edition |
Localized MIDlet name for MIDlets in the suite For |
Example:
|
Nokia-MIDlet-national-digit-display |
Series 40 5th Edition |
Used to enable national rather than Latin digit display. |
Example:
|
Nokia-MIDlet-no-exit |
Series 40 3rd Edition FP 2 |
Indicates a MIDlet that cannot exit once started. |
Example:
|
Nokia-MIDlet-Save-Location |
Series 40 5th Edition FP 1 |
Used to determine download folder (currently only supports |
Example:
|
Nokia-Service |
Series 40 5th Edition FP 1 |
Used to indicate an upload service. Upload services are |
Example:
|
Nokia-UI-Enhancement |
Series 40 3rd Edition |
Specifies the following:
Note: The attribute value is a comma-separated list, so several |
Examples:
|
Nokia-Update |
Series 40 3rd Edition |
Version update URL, used when doing Update Check. If no |
Example:
|
progressive_download |
Series 40 3rd Edition FP 2 |
Set to |
Example:
|
Background
MIDlets
Background MIDlets are enabled for operator and
manufacturer domains only. The number of MIDlets that can run concurrently
is determined by product configuration that takes into account the
amount of RAM that can be made available for the Java heap. The ability
of the device to run MIDlets in the background is a key enabler for
services such as Email
and IM
that need to remain in contact with a remote server even when not
on display. MIDlets that run in the background are pre-allocated heap
space from the available background heap. The amount allocated is
determined by the Nokia-MIDlet-BG-memory-size
attribute in their JAD file.