Sagem/MyX5-2
Display
Property |
Value |
Preprocessing Access |
Screen-Size (width x height) |
128×160 |
polish.ScreenSize, polish.ScreenWidth, polish.ScreenHeight |
Canvas-Size (width x height) |
128×128 |
polish.CanvasSize, polish.CanvasWidth, polish.CanvasHeight |
Canvas-Size in fullscreen mode |
128×142 |
polish.FullCanvasSize, polish.FullCanvasWidth, polish.FullCanvasHeight |
Bits per Pixel |
16
(65,536 colors) |
polish.BitsPerPixel |
Has Pointer Events (Stylus) |
no |
polish.hasPointerEvents |
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.128×160 |
resources/ScreenSize.128×160 |
CanvasSize.128×128 |
resources/CanvasSize.128×128 |
FullCanvasSize.128×142 |
resources/FullCanvasSize.128×142 |
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 |
640×480 |
polish.camerazoom |
4 |
polish.canvasheight |
128 |
polish.canvassize |
128×128 |
polish.canvaswidth |
128 |
polish.fullcanvasheight |
142 |
polish.fullcanvassize |
128×142 |
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 |
128×160 |
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.640×480 |
polish.cameraresolution:defined |
polish.camerazoom.4 |
polish.camerazoom:defined |
polish.canvasheight:defined |
polish.canvassize.128×128 |
polish.canvassize:defined |
polish.canvaswidth:defined |
polish.cldc |
polish.cldc1.0 |
polish.doublebuffering |
polish.fullcanvasheight:defined |
polish.fullcanvassize.128×142 |
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.128×160 |
polish.screensize:defined |
polish.screenwidth:defined |
polish.supportfloatingpoint.false |
polish.supportfloatingpoint:defined |
polish.supportspolishgui |
polish.vendor.sagem |
polish.vendor:defined |