Nokia s60v5 j2me禁用softkeypad
2016-06-20 00:00
417 查看
j2me程序在s60v5上运行时会被自带的softkeypad占去半个屏幕,要禁用softkeypad需要在JAD文件中加入
Nokia-MIDlet-On-Screen-Keypad: no
附JAD and JAR manifest attributes:
Table:
Nokia proprietary JAD/MANIFEST attributes
Nokia-MIDlet-On-Screen-Keypad: no
附JAD and JAR manifest attributes:
Table:
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: Application (all S60 1st Edition MIDlets use this) Game |
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 Nokia-MIDlet-Original-Display-Size(see below). Scaling applies to full screen LCDUI Canvasesonly. | <width,height> Example: Nokia-MIDlet-Target-Display-Size: 240,320 |
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 Canvases only. | <width,height> Example: Nokia-MIDlet-Original-Display-Size: 176,208 |
Nokia-MIDlet-Canvas-Scaling-Orientation-Switch | 3rd Edition FP 2 | Nokia-MIDlet-Canvas-Scaling-Orientation-Switchis always used together with Nokia-MIDlet-Original-Display-Size(see above). As Nokia-MIDlet-Original-Display-Sizeis used to indicate a fixed resolution that full screen Canvascontent of the MIDlet is designed for, then additionally specifying Nokia-MIDlet-Canvas-Scaling-Orientation-Switchto trueindicates that the MIDlet can also support the given resolution in both portrait and landscape resolutions. For an illustration, see figure LCDUI Canvas scaling on orientation switch. Note: Behavior of combination Nokia-MIDlet-Canvas-Scaling-Orientation-Switch: trueand set Nokia-MIDlet-Target-Display-Sizeis undefined. You should avoid using these two attributes together. | trueor false Example: Nokia-MIDlet-Canvas-Scaling-Orientation-Switch: true |
Nokia-Scalable-Icon (and Nokia-Scalable-Icon-MIDlet-<n>) | 3rd Edition FP 2 | Specifies scalable MIDlet icon support. When developing MIDlet suites, the MIDlet specific attributes MIDlet-nand Nokia-Scalable-Icon-MIDlet-<n>must be used. For more information, see Scalable icon support. | <link to svg icon> Example: Nokia-Scalable-Icon: /icons/gamesuite.svg |
Nokia-MIDlet-UID-<n> | 3rd Edition FP 2 | Predefined UID (Unique IDentifier) for a MIDlet. The value of <n> must match to MIDlet-<n> attribute. UID can be from following ranges: Unprotected range 0xA0000000 - 0xAFFFFFFF Protected range 0x20000000 - 0x2FFFFFFF Test range 0xE0000000 - 0xEFFFFFFF 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-MIDlet-UID-1: 0xE0000000 Nokia-MIDlet-UID-2: 0xE0000001 |
Nokia-UI-Enhancement | 3rd Edition FP 2 | Specifies the following: Theme (skin) behaviour on a normal mode Canvas(not full screen) component. The background image is shown if the attribute value is CanvasHasBackground. If the attribute is not defined, by default the background is white (corresponds to Display.getColor(COLOR_BACKGROUND)). If the MIDlet does not render all the pixels of a given clip region in the paint method, the theme background is shown. Receiving media key events while the MIDlet is running. Replacing the full-screen TextBoxwith a pop-up TextBox. | Examples:Nokia-UI-Enhancement: CanvasHasBackground Nokia-UI-Enhancement: MusicKeysSupported Nokia-UI-Enhancement: PopUpTextBox |
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. | trueor false Example: Nokia-MIDlet-No-Exit: true |
Nokia-MIDlet-Flip-Close | 3rd Edition FP 2 | Specifies MIDlet behaviour on flip-close event. If value is pause, pauseApp()is called when the flip is closed. If the flip is then opened, startApp()is called. By default the attribute value is runand therefore pauseApp()and startApp()are not called when flip is closed. 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 ShowNotify()call in Canvasor using an Options menu Commandwith a call to resumeRequest()in a Formbased MIDlet. Attribute Nokia-Background-Event(see below) with value pausecan be used as well. | pauseor run Example: Nokia-MIDlet-Flip-Close: pause |
Nokia-MIDlet-Background-Event | 3rd Edition FP 2 | Specifies MIDlet behavior to background event. If value is pause, pauseApp()is called when on to background event takes place. If on to foreground event takes place, startApp()is called. By default the attribute value is runand therefore pauseApp()and startApp()are not called when on to background event takes place. Note: When designing the MIDlet, take into account that startApp()can be called many times. | pauseor run Example: Nokia-MIDlet-Background-Event: pause |
Nokia-MIDlet-Block-Uninstall | 3rd Edition FP 2 | Prevents uninstallation of the MIDlet Suite if value of this attribute is true. Only Manufacturer or Operator signed applications are able to use this attribute. Note: This attribute must be specified in the JAR manifest file. | trueor false Example: Nokia-MIDlet-Block-Uninstall: true |
Nokia-MIDlet-S60-Selection-Key-Compatibility | 3rd Edition FP 2 | This attribute changes the default Selection key behaviour in Canvasand CustomItemelements. By default, normal mode Canvasand CustomItemdo not get low level key events for Selection key even if there is no CommandListenerdefined. For backward compatibility to S60 Editions prior to S60 3rd Edition FP 2, it is possible to enable low-level key event triggering from Selection key in CustomItem, normal mode Canvasand in full screen Canvaswith Commands and CommandListenerdefined. If this attribute is set as true, no Commands are mapped to Selection key, instead the relevant low-level key event is triggered (-5). Note that in a full screen mode Canvaswithout any Commands and CommandListenerdefined, this feature does not have any effect as low level key events are triggered from all softkeys in any case. | trueor falseExample: Nokia-MIDlet-S60-Selection-Key-Compatibility: true |
Nokia-MIDlet-On-Screen-Keypad | 5th Edition | Specifies the on-screen keypad for a Canvasapplication. This attribute is valid only in touch-enabled devices that have limited physical key availability. | no, gameactionsor navigationkeys. Example: Nokia-MIDlet-On-Screen-Keypad: gameactions |
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. | portraitor landscape |
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-Tap-Detection-Options:100,250 |
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. | rightor bottom |
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. |
相关文章推荐
- 512了
- http://scripteka.com/
- A Practical Tutorial Of Zend Framework(四)
- jQuery 1.1.3: 速度提高800%,大小仍然 20KB
- INTEGRATING SMARTY AND EZCOMPONENTS WITH THE ZEND FRAMEWORK
- 开展全面的网站评估
- 自己写的j2me下用的双缓冲消息队列类,不知对不对
- 程序切换橫屏的方法
- blackberry eJDE eclipse plugin update site
- Google Bookmarks API Guide
- PHP学习资源网站
- UUID.java-J2ME 中javax.bluetooth里的UUID生成类
- A Practical Tutorial Of Zend Framework(二)
- A Practical Tutorial Of Zend Framework(五)
- opensourcetemplates.org开源模板?
- img动态大小
- A Practical Tutorial Of Zend Framework(一)
- Android Animations 3D flip
- php 5.2.6释出
- INTEGRATING SMARTY WITH THE ZEND FRAMEWORK