J2ME Polish
J2ME Polish 2.4 Documentation
Enough Software

Alcatel/One Touch 756


Display

PropertyValuePreprocessing Access
Screen-Size (width x height)128x160polish.ScreenSize, polish.ScreenWidth, polish.ScreenHeight
Bits per Pixel18
(262,144 colors)
polish.BitsPerPixel
Supports Pointer/Touch Eventsnopolish.hasPointerEvents

Platform

PropertyValuePreprocessing Access
VendorAlcatelpolish.Vendor
PlatformMIDP/2.0, JTWI/1.0polish.JavaPlatform, polish.midp2
ConfigurationCLDC/1.0polish.JavaConfiguration, polish.cldc1.0
Supported APIswmapi, mmapi, mmapipolish.JavaPackage, polish.api.wmapi, polish.api.mmapi, polish.api.mmapi
Meets the Recommended Capablities for the J2ME Polish GUIyes  --

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 Folder
midp2resources/midp2
jtwiresources/jtwi
wmapiresources/wmapi
mmapiresources/mmapi
mmapiresources/mmapi
ScreenSize.128x160resources/ScreenSize.128x160
BitsPerPixel.4+resources/BitsPerPixel.4+
BitsPerPixel.8+resources/BitsPerPixel.8+
BitsPerPixel.12+resources/BitsPerPixel.12+
BitsPerPixel.16+resources/BitsPerPixel.16+
BitsPerPixel.18+resources/BitsPerPixel.18+
BitsPerPixel.18resources/BitsPerPixel.18

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 == Alcatel
	// this is a Alcatel device
//#endif
//#ifdef polish.ScreenWidth:defined
	//#= int screenWidth = ${ polish.ScreenWidth };
//#else
	int screenWidth = UNKNOWN_WIDTH;
//#endif

CapabilityValue
polish.bitsperpixel18
polish.build.bootclasspathcldc-1.0.jar,midp-2.0.jar
polish.build.implicitgroupsmidp2
polish.identifierAlcatel/One Touch 756
polish.javaconfigurationCLDC/1.0
polish.javapackagewmapi-1.1, mmapi, mmapi
polish.javaplatformMIDP/2.0, JTWI/1.0
polish.nameOne Touch 756
polish.screenheight160
polish.screensize128x160
polish.screenwidth128
polish.supportfloatingpointfalse
polish.vendorAlcatel

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.wmapi
polish.bitsperpixel.18
polish.bitsperpixel:defined
polish.build.bootclasspath.cldc-1.0.jar
polish.build.bootclasspath.midp-2.0.jar
polish.build.bootclasspath:defined
polish.build.implicitgroups.midp2
polish.build.implicitgroups:defined
polish.cldc
polish.cldc1.0
polish.identifier.alcatel/one touch 756
polish.identifier:defined
polish.javaconfiguration.cldc/1.0
polish.javaconfiguration:defined
polish.javapackage.mmapi
polish.javapackage.wmapi-1.1
polish.javapackage:defined
polish.javaplatform.jtwi/1.0
polish.javaplatform.midp/2.0
polish.javaplatform:defined
polish.jtwi
polish.midp
polish.midp2
polish.name.one touch 756
polish.name:defined
polish.screenheight:defined
polish.screensize.128x160
polish.screensize:defined
polish.screenwidth:defined
polish.supportfloatingpoint.false
polish.supportfloatingpoint:defined
polish.supportspolishgui
polish.vendor.alcatel
polish.vendor:defined
back to top