Nokia s60v5 j2me禁用softkeypad

本文介绍如何通过修改JAD文件中的特定属性来禁用S60V5设备上的软键盘,并概述了多项Nokia专有的JAD/MANIFEST属性,包括屏幕尺寸、图标、UID设置等。

j2me程序在s60v5上运行时会被自带的softkeypad占去半个屏幕,要禁用softkeypad需要在JAD文件中加入

Nokia-MIDlet-On-Screen-Keypad: no

 

JAD and JAR manifest attributes

Table: Nokia proprietary JAD/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:

  • 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 Canvases only.

<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-Switch is always used together with Nokia-MIDlet-Original-Display-Size (see above). As Nokia-MIDlet-Original-Display-Size is used to indicate a fixed resolution that full screen Canvas content of the MIDlet is designed for, then additionally specifying Nokia-MIDlet-Canvas-Scaling-Orientation-Switch to true indicates 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: true and set Nokia-MIDlet-Target-Display-Size is undefined. You should avoid using these two attributes together.

true or 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-n and 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 TextBox with 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.

true or 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 run and 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 Canvas or using an Options menu Command with a call to resumeRequest() in a Form based MIDlet.

Attribute Nokia-Background-Event (see below) with value pause can be used as well.

pause or 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 run and 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.

pause or 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.

true or 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 Canvas and CustomItem elements.

By default, normal mode Canvas and CustomItem do not get low level key events for Selection key even if there is no CommandListener defined. 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 Canvas and in full screen Canvas with Commands and CommandListener defined.

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 Canvas without any Commands and CommandListener defined, this feature does not have any effect as low level key events are triggered from all softkeys in any case.

true or false Example: Nokia-MIDlet-S60-Selection-Key-Compatibility: true

Nokia-MIDlet-On-Screen-Keypad

5th Edition

Specifies the on-screen keypad for a Canvas application.

This attribute is valid only in touch-enabled devices that have limited physical key availability.

no, gameactions or 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.

portrait or 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.

right or 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.

 

01、数据简介 出口韧性是地级市在面对外部震荡和压力时,能够承受迅速适应、应对变化的能力。这种能力体现在地级市经济结构的灵活性、创新能力和竞争力,以及地方政府的政策支持和产业调整能力等多个方面。 城市出口韧性对于城市的经济发展、就业稳定、国际贸易地位以及风险抵御能力等方面都具有重要影响。因此,城市应加强出口韧性的建设,提高应对外部冲击的能力,以推动其经济的可持续发展。 数据名称:地级市-城市出口韧性数据 数据年份:2011-2022年 02、相关数据 代码 年份 地区 城市 省份 城市出口韧性 距离港口的最近距离 最终进口额_百万人民币2 最终出口额_百万人民币2 人均道路面积2 年末金融机构各项贷款余额万元2 地区生产总值万元2 科学支出万元2 地方财政一般预算内支出万元2 城镇居民人均可支配收入元2 固定资产投资2 实际使用外商投资额百万美元2 城镇化率2 外贸依存度 出口贸易 年平均汇率 实际使用外商投资额百万人民币2 外资依存度 金融发展水平 财政投资力度 科学技术水平 出口偏离度 x_地区生产总值万元2 x_城镇化率2 x_人均道路面积2 x_外贸依存度 x_出口贸易 x_出口偏离度 x_金融发展水平 x_城镇居民人均可支配收入元2 x_财政投资力度 x_科学技术水平 x_距离港口的最近距离 x_外资依存度 地区生产总值万元2_sum y_地区生产总值万元2 城镇化率2_sum y_城镇化率2 人均道路面积2_sum y_人均道路面积2 外贸依存度_sum y_外贸依存度 出口贸易_sum y_出口贸易 出口偏离度_sum y_出口偏离度 金融发展水平_sum y_金融发展水平 城镇居民人均可支配收入元2_sum y_城镇居民人均可支配收入元2 财政投资力度_sum y_财政投资力度 科学技术水平_sum y_科学技术水平
内容概要:本文档详细介绍了一个基于Matlab实现的无人机空中通信仿真资源包,系统涵盖了无人机通信、三维路径规划、状态估计与多机协同等多个核心技术模块的仿真代码与案例研究。内容聚焦于无人机在复杂环境下的三维路径规划(如基于遗传算法GA、粒子群算法PSO、动态窗口法DWA等)、无人机姿态与轨迹的状态估计算法(如扩展卡尔曼滤波器EKF、UKF、不变扩展卡尔曼滤波IEKF、粒子滤波PF等),以及无人机通信链路建模与优化,融合智能优化算法对系统性能进行提升。此外,资源包还拓展至微电网优化、MIMO检测、图像融合、信号处理等相关科研领域,构建了一个以无人机技术为核心、多学科交叉融合的综合性仿真研究体系。; 适合人群:具备一定Matlab编程能力与控制系统基础知识,从事无人机系统设计、无线通信、自动化控制、智能优化算法或相关领域研究的科研人员、高校研究生及工程技术人员。; 使用场景及目标:①开展无人机通信系统建模与性能仿真分析;②实现复杂动态环境中无人机三维路径规划与实时避障;③研究基于多源传感器融合的无人机导航与状态估计方法;④结合智能优化算法提升无人机任务执行效率与系统鲁棒性; 阅读建议:建议读者依据资源包提供的模块化结构系统学习,优先掌握Matlab/Simulink基本仿真技能,重点研读路径规划与状态估计部分的算法实现与代码细节,通过实际调试与二次开发加深对无人机系统集成与优化策略的理解。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值