j2me程序在s60v5上运行时会被自带的softkeypad占去半个屏幕,要禁用softkeypad需要在JAD文件中加入
Nokia-MIDlet-On-Screen-Keypad: no
附JAD and JAR manifest attributes:
Attribute Name |
Since S60 Edition |
Description |
Value |
---|---|---|---|
Nokia-MIDlet-Category |
2nd Edition |
Defines localized installation folder for MIDlet. |
Category can be one of the following:
|
Nokia-MIDlet-Target-Display-Size |
3rd Edition |
Specifies the target size for the MIDlet. This is usually the same as the screen size of the target device. This attribute is usually used in conjunction with the |
Example:
|
Nokia-MIDlet-Original-Display-Size |
3rd Edition |
Specifies the resolution for which the MIDlet was designed. This is used to adapt the MIDlet for full-screen mode on a mobile device. Scaling applies to full screen LCDUI |
Example:
|
Nokia-MIDlet-Canvas-Scaling-Orientation-Switch |
3rd Edition FP 2 |
For an illustration, see figure LCDUI Canvas scaling on orientation switch. Note: Behavior of combination |
Example:
|
Nokia-Scalable-Icon (and Nokia-Scalable-Icon-MIDlet- |
3rd Edition FP 2 |
Specifies scalable MIDlet icon support. When developing MIDlet suites, the MIDlet specific attributes For more information, see Scalable icon support. |
Example:
|
Nokia-MIDlet-UID- |
3rd Edition FP 2 |
Predefined UID (Unique IDentifier) for a MIDlet. The value of UID can be from following ranges:
Note: In the case the UID is from protected range, the MIDlet Suite must be signed and the UID must be specified in both the JAD and the JAR manifest file. For more details, see section Pre-defined UID attributes For more information on UID values in MIDlet development, see Symbian signed process web page. |
Examples:
|
Nokia-UI-Enhancement |
3rd Edition FP 2 |
Specifies the following:
|
Examples:
|
Nokia-MIDlet-No-Exit |
3rd Edition FP 2 |
Prevents the MIDlet from closing via pressing the End key. Instead of closing the MIDlet it is put to the background. The MIDlet can be still closed from the list of open applications. |
Example:
|
Nokia-MIDlet-Flip-Close |
3rd Edition FP 2 |
Specifies MIDlet behaviour on flip-close event. If value is By default the attribute value is Note: If a MIDlet is already in background, it does not get any notification about flip close event. Note: In some cases, MIDlets may remain in background when the flip is opened. In these cases, the user needs to bring MIDlet to foreground, by using the Attribute |
Example:
|
Nokia-MIDlet-Background-Event |
3rd Edition FP 2 |
Specifies MIDlet behavior to background event. If value is By default the attribute value is Note: When designing the MIDlet, take into account that |
Example:
|
Nokia-MIDlet-Block-Uninstall |
3rd Edition FP 2 |
Prevents uninstallation of the MIDlet Suite if value of this attribute is Only Manufacturer or Operator signed applications are able to use this attribute. Note: This attribute must be specified in the JAR manifest file. |
Example:
|
Nokia-MIDlet-S60-Selection-Key-Compatibility |
3rd Edition FP 2 |
This attribute changes the default Selection key behaviour in By default, normal mode If this attribute is set as |
|
Nokia-MIDlet-On-Screen-Keypad |
5th Edition |
Specifies the on-screen keypad for a This attribute is valid only in touch-enabled devices that have limited physical key availability. |
Example:
|
Nokia-MIDlet-App-Orientation |
5th Edition |
Allows MIDlet to force either portrait or landscape UI orientation. The orientation is only fixed on devices that support the specific layout. |
|
Nokia-MIDlet-Tap-Detection-Options |
5th Edition (Java Runtime 1.4 for S60) |
Sets the size of tap detection area and tap timeout on Touch UI devices. If the pointer stays pressed within the detection area and does not surpass the timeout value, the event is considered a single tap. If the pointer leaves the detection area or the timeout passes, drag events start being generated. 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 timeout value in milliseconds, separated by a comma Example:
|
Nokia-MIDlet-On-Screen-Softkeys-Position |
5th Edition (Java Runtime 1.4 for S60) |
Defines where softkeys are placed on the screen when using the on-screen keypad on devices that have no physical softkeys. |
|
Nokia-MIDlet-national-digit-display |
Series 40 5th Edition FP 1 |
Instructs the Java platform on the device to allow or disallow displaying native digits. |