×
Namespaces

Variants
Actions
Revision as of 08:59, 22 October 2013 by hamishwillee (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Series 40 设备可用JAD 以及 JAR manifest 属性列表

From Nokia Developer Wiki
Jump to: navigation, search
WP Metro Icon Chinese.png


Introduction

Nokia SDK for Java中给我们提供一系列Nokia自身的用于Series 40的 属性,本文列举出了大部分属性,以及如何使用他们的方法。

Summary

名称 版本 描述
Nokia-MIDlet-auto-start Series 40 3rd Edition FP 2 Manufacturer / operator 指定是否可以开机启动 可选值:

• yes • no • once

Example: Nokia-MIDlet-auto-start: yes

Nokia-MIDlet-Background-Exit-Confirm-<locale> Series 40 6th Edition Manufacturer / operator 退出后台运行的MIDlet之前是否确认 Example:

Nokia-MIDlet-Background-Exit-Confirm-en : Don't stop me please

Nokia-MIDlet-bg-launchpad Series 40 5th Edition FP 1 Manufacturer / operator 指定MIDlet suite被启动时,所启动的MIDlet-n 的编号 Example:

Nokia-MIDlet-bg-launchpad:

Nokia-MIDlet-bg-memory-size Series 40 3rd Edition FP 2 Manufacturer / operator 表明可以后台运行,通知指定在后台时所能占用的堆内存的总数,单位Kb Example:

Nokia-MIDlet-bg-memory-size: 256

Nokia-MIDlet-bg-server Series 40 5th Edition FP 1 Manufacturer / operator 标识MIDlet-n是一个后台Server Example:

Nokia-MIDlet-bg-server: 1

Nokia-MIDlet-bg-user-disable Series 40 5th Edition FP Manufacturer / operator 其他MIDlet释放后台堆内存操作时,标识该程序是否能够被stop 可选值: true or false

Example:

Nokia-MIDlet-bg-user-disable: true

Nokia-MIDlet-bg-version Series 40 6th Edition Manufacturer / operator 后台API的版本信息 Example:

Nokia-MIDlet-bg-version: 1.0

Nokia-MIDlet-Category Series 40 6th Edition Manufacturer / operator 使用OTA下载时,文件保存的路径分类信息 可选值:

Nokia-MIDlet-Category: Application

Nokia-MIDlet-Category: Commerce

Nokia-MIDlet-Category: Game

Nokia-MIDlet-Category: Messaging

Nokia-MIDlet-Category: Screensaver

Nokia-MIDlet-Close-Gprs-Context Series 40 5th Edition FP 1 All 如果该值设为true,那么当所有的HTTP connection关闭后的10S后,GPRS Context 也会被关闭,否则会一直会等到MIDlet退出时才会被关闭 Example:

Nokia-MIDlet-Close-Gprs-Context: true

Nokia-MIDlet-Connectionsettings Series 40 6th Edition Lite Manufacturer / operator 指定当MIDlet访问网络时的首选接入方式 Nokia-MIDlet-Connectionsettings: specialProxy
Nokia-MIDlet-Dual-SIM-Compliant Java Runtime 1.0.0 for Series 40 Manufacturer / operator 指定能够后台运行的MIDlet,是否只有在前台时才可以连接网络,注意该属性仅仅针对双卡设备 Nokia-MIDlet-Dual-SIM-Compliant: true
Nokia-MIDlet-Name-<locale> Series 40 3rd Edition All MIDlet suite名称本地化 Example:

Nokia-MIDlet-Name-en: Bounce

Nokia-MIDlet-national-digit-display Series 40 5th Edition All Example Example
Nokia-MIDlet-no-exit Series 40 3rd Edition FP 2 Manufacturer / operator MIDlet一旦启动不能退出 true or false

Example:

Nokia-MIDlet-no-exit: true

Nokia-MIDlet-Save-Location Series 40 5th Edition FP 1 All 设定下载文件夹,目前仅仅支持root目录 Example:

Nokia-MIDlet-Save-Location: Root

Nokia-Service Series 40 5th Edition FP 1 All 用来标识一个上传服务 true or false

Example:

Nokia-Service: true

Nokia-MIDlet-Splash-Screen-Image Java Runtime 1.0.0 for Series 40 All 自定义启动画面 Examples:

Nokia-MIDlet-Splash-Screen-Image: splash_300x300.png

Nokia-MIDlet-Splash-Screen-Image: suppress

Nokia-UI-Enhancement Series 40 3rd Edition All 用来指定: 1. Canvas 是否支持Theme 2. 是否支持媒体按键事件的接收 Examples:

Nokia-UI-Enhancement: CanvasHasBackground

Nokia-UI-Enhancement: MusicKeysSupported

Nokia-Update Series 40 3rd Edition All 指定版本升级的url Example:

Nokia-Update: http://myserver.com/Bounce.jad

progressive_download Series 40 3rd Edition FP 2 All 指定是否支持JSR-135的progressive 播放 Example:

progressive_download: enabled

Nokia-MIDlet-App-Orientation Java Runtime 2.0.0 for Series 40 All 指定orientation模式 可选值:

Nokia-MIDlet-App-Orientation: portrait Nokia-MIDlet-App-Orientation: landscape Nokia-MIDlet-App-Orientation: manual


This page was last modified on 22 October 2013, at 08:59.
222 page views in the last 30 days.
×