`
wanchong998
  • 浏览: 235539 次
  • 性别: Icon_minigender_1
  • 来自: 济南
社区版块
存档分类
最新评论

polish的devices参数使用参考

阅读更多

Sagem/MyX5-2

Display

Property Value Preprocessing Access
Screen-Size (width x height) 128x160 polish.ScreenSize, polish.ScreenWidth, polish.ScreenHeight
Canvas-Size (width x height) 128x128 polish.CanvasSize, polish.CanvasWidth, polish.CanvasHeight
Canvas-Size in fullscreen mode 128x142 polish.FullCanvasSize, polish.FullCanvasWidth, polish.FullCanvasHeight
Bits per Pixel 16
(65,536 colors)
polish.BitsPerPixel
Has Pointer Events (Stylus) no polish.hasPointerEvents

Platform

Property Value Preprocessing Access
Vendor Sagem polish.Vendor
OS Windows Mobile 2003 polish.OS
Platform MIDP/2.0, JTWI/1.0 polish.JavaPlatform, polish.midp2
Configuration CLDC/1.0 polish.JavaConfiguration, polish.cldc1.0
Supported APIs mmapi, mmapi1.1, wmapi polish.JavaPackage, polish.api.mmapi, polish.api.mmapi1.1, polish.api.wmapi
Meets the Recommended Capablities for the J2ME Polish GUI yes --

Memory

Property Value Preprocessing Variable
Heap-Size 512 kb polish.HeapSize

Keys

Key Value Preprocessing Variable
Left Soft Key -6 polish.key.LeftSoftKey
Right Soft Key -7 polish.key.RightSoftKey

Groups

Groups can be used to assemble the resources (like images or sound-files) for an application.
Have a look at the documentation for more info.

Group Resource Folder
midp2 resources/midp2
jtwi resources/jtwi
mmapi resources/mmapi
mmapi1.1 resources/mmapi1.1
wmapi resources/wmapi
ScreenSize.128x160 resources/ScreenSize.128x160
CanvasSize.128x128 resources/CanvasSize.128x128
FullCanvasSize.128x142 resources/FullCanvasSize.128x142
BitsPerPixel.4+ resources/BitsPerPixel.4+
BitsPerPixel.8+ resources/BitsPerPixel.8+
BitsPerPixel.12+ resources/BitsPerPixel.12+
BitsPerPixel.16+ resources/BitsPerPixel.16+
BitsPerPixel.16 resources/BitsPerPixel.16

Preprocessing Capabilities

Capabilities can be used with the "//#=" preprocessing directive and can be compared with the "//#if" directive. For each defined capability a preprocessing symbol with the same name will be defined.
Have a look at the preprocessing documentation for more information.

Examples:

//#if polish.Vendor == Sagem
 // this is a Sagem device
//#endif
//#ifdef polish.ScreenWidth:defined
 //#= int screenWidth = ${ polish.ScreenWidth };
//#else
 int screenWidth = UNKNOWN_WIDTH;
//#endif
Capability Value
polish.bitsperpixel 16
polish.build.bootclasspath midp-2.0.jar, cldc-1.0.jar
polish.build.implicitgroups jtwi
polish.cameraresolution 640x480
polish.camerazoom 4
polish.canvasheight 128
polish.canvassize 128x128
polish.canvaswidth 128
polish.fullcanvasheight 142
polish.fullcanvassize 128x142
polish.fullcanvaswidth 128
polish.heapsize 512 kb
polish.identifier Sagem/MyX5-2
polish.imageformat png, gif, gif87, gif89, jpg, jpeg, bmp
polish.javaconfiguration CLDC/1.0
polish.javapackage mmapi-1.1, wmapi
polish.javaplatform MIDP/2.0, JTWI/1.0
polish.key.leftsoftkey -6
polish.key.rightsoftkey -7
polish.name MyX5-2
polish.os Windows Mobile 2003
polish.screenheight 160
polish.screensize 128x160
polish.screenwidth 128
polish.supportfloatingpoint false
polish.vendor Sagem

Preprocessing Symbols

Symbols can be evaluated with the "//#ifdef" and related preprocessing directives.
Have a look at the preprocessing documentation for more information.

Example:

//#if polish.api.mmapi || polish.midp2
 // this device supports the Mobile Media API
//#endif
Symbol
polish.api.mmapi
polish.api.mmapi1.1
polish.api.wmapi
polish.bitsperpixel.16
polish.bitsperpixel:defined
polish.build.bootclasspath.cldc-1.0.jar
polish.build.bootclasspath.midp-2.0.jar
polish.build.bootclasspath:defined
polish.build.implicitgroups.jtwi
polish.build.implicitgroups:defined
polish.cameraresolution.640x480
polish.cameraresolution:defined
polish.camerazoom.4
polish.camerazoom:defined
polish.canvasheight:defined
polish.canvassize.128x128
polish.canvassize:defined
polish.canvaswidth:defined
polish.cldc
polish.cldc1.0
polish.doublebuffering
polish.fullcanvasheight:defined
polish.fullcanvassize.128x142
polish.fullcanvassize:defined
polish.fullcanvaswidth:defined
polish.hascamera
polish.hascommandkeyevents
polish.heapsize.512 kb
polish.heapsize:defined
polish.identifier.sagem/myx5-2
polish.identifier:defined
polish.imageformat.bmp
polish.imageformat.gif
polish.imageformat.gif87
polish.imageformat.gif89
polish.imageformat.jpeg
polish.imageformat.jpg
polish.imageformat.png
polish.imageformat:defined
polish.javaconfiguration.cldc/1.0
polish.javaconfiguration:defined
polish.javapackage.mmapi-1.1
polish.javapackage.wmapi
polish.javapackage:defined
polish.javaplatform.jtwi/1.0
polish.javaplatform.midp/2.0
polish.javaplatform:defined
polish.jtwi
polish.key.leftsoftkey.-6
polish.key.leftsoftkey:defined
polish.key.rightsoftkey.-7
polish.key.rightsoftkey:defined
polish.midp
polish.midp2
polish.name.myx5-2
polish.name:defined
polish.os.windows mobile 2003
polish.os:defined
polish.screenheight:defined
polish.screensize.128x160
polish.screensize:defined
polish.screenwidth:defined
polish.supportfloatingpoint.false
polish.supportfloatingpoint:defined
polish.supportspolishgui
polish.vendor.sagem
polish.vendor:defined
分享到:
评论

相关推荐

    polish环境搭建

    本文将详细介绍如何在您的开发环境中设置J2ME Polish,以便开始使用它来构建高质量的移动应用。 一、系统需求 在开始搭建J2ME Polish环境前,确保您的计算机满足以下基本需求: 1. 操作系统:Windows、Mac OS X或...

    pro j2me polish

    本文将深入探讨J2ME Polish的核心特性、使用方法以及如何通过它来提升J2ME应用的质量。 首先,**J2ME Polish** 的主要目标是解决J2ME平台的局限性,尤其是在UI设计方面。传统的J2ME UI通常显得简陋,与现代智能手机...

    j2mepolish,J2MEPOLISH,polish开发环境搭详细讲解

    为了深入学习J2ME Polish,你可以参考提供的"polish_book"压缩包中的文档,它可能包含了详细的教程、API参考和示例代码,帮助开发者掌握J2ME Polish的使用方法和最佳实践。 总的来说,J2ME Polish是J2ME开发者的...

    Java polish开源工具

    Javame 开发中一款开源框架工具 polish

    j2me polish v212源码

    - **文档**:源码包中可能有相关的开发者文档,解释了如何使用和扩展J2ME Polish,这对于理解和定制工具非常有帮助。 深入研究“j2me polish v212源码”,开发者不仅可以学习到J2ME应用开发的最佳实践,还能掌握跨...

    [Polish]安装设备数据库

    [Polish]安装设备数据库[Polish]安装设备数据库

    j2me polish 入门教材

    5. **测试运行**:创建一个新的J2ME项目,使用J2ME Polish的模板,并尝试运行在模拟器或真实设备上,以确认安装配置正确无误。 **二、使用J2ME Polish的Build功能** 1. **项目结构**:在J2ME Polish项目中,你需要...

    polish.pdf

    【压缩包子文件的文件名称列表】:只有一个文件`polish.pdf`,这可能是一个详细的教程或者指南,涵盖了如何使用J2ME Polish进行项目开发,包括上述提到的配置、预处理、构建过程和CSS应用等内容。阅读这个PDF文档将...

    J2ME polish 相关资料

    - **入门教程**:介绍如何开始使用J2ME Polish,包括安装、创建第一个项目、理解基本的UI组件等。 - **进阶主题**:深入探讨高级特性,如动画、触摸事件处理、网络通信、本地化支持等。 - **最佳实践**:分享如何...

    J2ME Polish 初级教程

    **J2ME Polish 初级教程** Java 2 Micro Edition(J2ME)是Java平台的一个子集,专为资源有限的移动设备如手机、PDA等设计。它提供了开发和部署嵌入式应用程序的框架。J2ME波兰(J2ME Polish)是一款强大的工具,...

    如何debug你的Polish程序

    ### 如何调试你的Polish程序 ...通过本文档的学习,您应该已经掌握了如何使用各种方法调试Polish程序的基本技能。值得注意的是,调试是一项需要不断实践才能掌握的技术,希望您能够在实践中不断进步。

    Complete_Guide_to_J2ME_Polish

    通过本书,读者可以全面了解如何安装、配置并使用Polish来提高应用程序性能,简化开发流程,并实现游戏引擎的构建等高级功能。 #### Polish 技术简介 J2ME Polish 是一个开源项目,旨在为J2ME开发者提供一系列工具...

    pro j2me polish 源码

    通过使用Pro J2ME Polish,开发者可以减少开发时间和精力,同时提高应用的性能和吸引力。 【标签】"j2me polish" 指的是Pro J2ME Polish项目的核心概念,它是对标准J2ME开发的一种“抛光”或优化,专注于提升UI设计...

    如何真正配置J2ME POLISH

    ### 如何真正配置J2ME POLISH #### 知识点一:理解J2ME与POLISH的关系 在深入配置之前,我们首先需要了解J2ME(Java 2 Micro Edition)与POLISH之间的关系。J2ME是Sun Microsystems为嵌入式设备和移动设备设计的一...

    Pro J2ME Polish Open Source Wireless Java Tools Suite(普通下载).rar

    - 功能手机应用开发:对于仍然使用J2ME平台的设备,Pro J2ME Polish是增强用户体验和功能的理想选择。 - 教育与研究:作为教学材料,帮助学生和研究人员了解移动应用开发的底层机制。 - 历史项目维护:对于遗留的...

    使用J2ME Polish进行游戏编程

    J2ME Polish 游戏引擎为MIDP1.0的设备提供了完备的MIDP2.0游戏API。...在MIDP1.0平台游戏引擎受限的条件下开发以及通过使用低级图形操作、声音重放和设备控制的厂家特殊库,把MIDP2.0的游戏移植到MIDP1.0的平台上。

Global site tag (gtag.js) - Google Analytics