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 };//#elseint 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