J2ME Polish
J2ME Polish 2.4 Documentation
Enough Software

Generic/Midp2Cldc11Pointer


A device that merely supports the MIDP 2.0 and CLDC 1.1 standards and has a pointer based user interface.

Display

PropertyValuePreprocessing Access
Supports Pointer/Touch Eventsyespolish.hasPointerEvents

Platform

PropertyValuePreprocessing Access
VendorGenericpolish.Vendor
PlatformMIDP/2.0polish.JavaPlatform, polish.midp2
ConfigurationCLDC/1.1polish.JavaConfiguration, polish.cldc1.1
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

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

CapabilityValue
polish.build.bootclasspathcldc-1.1.jar,midp-2.0.jar
polish.build.implicitgroupsmidp2
polish.identifierGeneric/Midp2Cldc11Pointer
polish.javaconfigurationCLDC/1.1
polish.javaplatformMIDP/2.0
polish.nameMidp2Cldc11Pointer
polish.supportfloatingpointtrue
polish.vendorGeneric

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.build.bootclasspath.cldc-1.1.jar
polish.build.bootclasspath.midp-2.0.jar
polish.build.bootclasspath:defined
polish.build.implicitgroups.midp2
polish.build.implicitgroups:defined
polish.cldc
polish.cldc1.1
polish.cldc11
polish.hasfloatingpoint
polish.haspointerevents
polish.identifier.generic/midp2cldc11pointer
polish.identifier:defined
polish.isvirtual
polish.javaconfiguration.cldc/1.1
polish.javaconfiguration:defined
polish.javaplatform.midp/2.0
polish.javaplatform:defined
polish.midp
polish.midp2
polish.name.midp2cldc11pointer
polish.name:defined
polish.supportfloatingpoint
polish.supportfloatingpoint.true
polish.supportfloatingpoint:defined
polish.supportspolishgui
polish.vendor.generic
polish.vendor:defined
back to top