程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 編程語言 >> JAVA編程 >> J2ME >> polish的devices參數利用參考

polish的devices參數利用參考

編輯:J2ME

Sagem/MyX5-2

DisplayPlatformMemoryKeysGroupsPreprocessing CapabilitIEsPreprocessing Symbols

Display

PropertyValuePreprocessing AccessScreen-Size (width x height)128x160polish.ScreenSize, polish.ScreenWidth, polish.ScreenHeightCanvas-Size (width x height)128x128polish.CanvasSize, polish.CanvasWidth, polish.CanvasHeightCanvas-Size in fullscreen mode128x142polish.FullCanvasSize, polish.FullCanvasWidth, polish.FullCanvasHeightBits per Pixel16
(65,536 colors)polish.BitsPerPixelHas Pointer Events (Stylus)nopolish.hASPointerEvents

Platform

PropertyValuePreprocessing AccessVendorSagempolish.VendorOSWindows Mobile 2003polish.OSPlatformMIDP/2.0, JTWI/1.0polish.JavaPlatform, polish.midp2ConfigurationCLDC/1.0polish.JavaConfiguration, polish.cldc1.0Supported APIsmmapi, mmapi1.1, wmapipolish.JavaPackage, polish.api.mmapi, polish.api.mmapi1.1, polish.api.wmapiMeets the Recommended CapablitIEs for the J2ME Polish GUIyes  --

Memory

PropertyValuePreprocessing VariableHeap-Size512 kbpolish.HeapSize

Keys

KeyValuePreprocessing VariableLeft Soft Key-6polish.key.LeftSoftKeyRight Soft Key-7polish.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.

GroupResource Foldermidp2resources/midp2jtwiresources/jtwimmapiresources/mmapimmapi1.1resources/mmapi1.1wmapiresources/wmapiScreenSize.128x160resources/ScreenSize.128x160CanvasSize.128x128resources/CanvasSize.128x128FullCanvasSize.128x142resources/FullCanvasSize.128x142BitsPerPixel.4+resources/BitsPerPixel.4+BitsPerPixel.8+resources/BitsPerPixel.8+BitsPerPixel.12+resources/BitsPerPixel.12+BitsPerPixel.16+resources/BitsPerPixel.16+BitsPerPixel.16resources/BitsPerPixel.16

Preprocessing CapabilitIEs

CapabilitIEs can be used with the "//#=" preprocessing directive andcan be compared with the "//#if" directive. For each defined capabilitya 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

CapabilityValuepolish.bitsperpixel16polish.build.bootclasspathmidp-2.0.jar, cldc-1.0.jarpolish.build.implicitgroupsjtwipolish.cameraresolution640x480polish.camerazoom4polish.canvasheight128polish.canvassize128x128polish.canvaswidth128polish.fullcanvasheight142polish.fullcanvassize128x142polish.fullcanvaswidth128polish.heapsize512 kbpolish.identifIErSagem/MyX5-2polish.imageformatpng, gif, gif87, gif89, jpg, jpeg, bmppolish.javaconfigurationCLDC/1.0polish.javapackagemmapi-1.1, wmapipolish.JavaplatformMIDP/2.0, JTWI/1.0polish.key.leftsoftkey-6polish.key.rightsoftkey-7polish.nameMyX5-2polish.osWindows Mobile 2003polish.screenheight160polish.screensize128x160polish.screenwidth128polish.supportfloatingpointfalsepolish.vendorSagem

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
Symbolpolish.api.mmapipolish.api.mmapi1.1polish.api.wmapipolish.bitsperpixel.16polish.bitsperpixel:definedpolish.build.bootclasspath.cldc-1.0.jarpolish.build.bootclasspath.midp-2.0.jarpolish.build.bootclasspath:definedpolish.build.implicitgroups.jtwipolish.build.implicitgroups:definedpolish.cameraresolution.640x480polish.cameraresolution:definedpolish.camerazoom.4polish.camerazoom:definedpolish.canvasheight:definedpolish.canvassize.128x128polish.canvassize:definedpolish.canvaswidth:definedpolish.cldcpolish.cldc1.0polish.doublebufferingpolish.fullcanvasheight:definedpolish.fullcanvassize.128x142polish.fullcanvassize:definedpolish.fullcanvaswidth:definedpolish.hascamerapolish.hascommandkeyeventspolish.heapsize.512 kbpolish.heapsize:definedpolish.identifier.sagem/myx5-2polish.identifIEr:definedpolish.imageformat.bmppolish.imageformat.gifpolish.imageformat.gif87polish.imageformat.gif89polish.imageformat.jpegpolish.imageformat.jpgpolish.imageformat.pngpolish.imageformat:definedpolish.javaconfiguration.cldc/1.0polish.javaconfiguration:definedpolish.javapackage.mmapi-1.1polish.javapackage.wmapipolish.javapackage:definedpolish.javaplatform.jtwi/1.0polish.javaplatform.midp/2.0polish.Javaplatform:definedpolish.jtwipolish.key.leftsoftkey.-6polish.key.leftsoftkey:definedpolish.key.rightsoftkey.-7polish.key.rightsoftkey:definedpolish.mi***olish.midp2polish.name.myx5-2polish.name:definedpolish.os.Windows mobile 2003polish.os:definedpolish.screenheight:definedpolish.screensize.128x160polish.screensize:definedpolish.screenwidth:definedpolish.supportfloatingpoint.falsepolish.supportfloatingpoint:definedpolish.supportspolishguipolish.vendor.sagempolish.vendor:defined

 

  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved