J2ME Polish
J2ME Polish 2.4 Documentation
Enough Software

DoJa/os25


Display

PropertyValuePreprocessing Access
Supports Pointer/Touch Eventsnopolish.hasPointerEvents

Platform

PropertyValuePreprocessing Access
VendorDoJapolish.Vendor
PlatformDoJa/2.5polish.JavaPlatform
ConfigurationCLDC/1.0polish.JavaConfiguration, polish.cldc1.0
Meets the Recommended Capablities for the J2ME Polish GUIno--

Keys

KeyValuePreprocessing Variable
Left Soft Key21polish.key.LeftSoftKey
Right Soft Key22polish.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 Folder
dojaresources/doja
doja2.5resources/doja2.5

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

CapabilityValue
polish.build.bootclasspathcldc-1.0.jar,doja-2.5.jar
polish.build.descriptorcreatordoja
polish.build.implicitgroupsdoja, doja2.5
polish.build.manifestcreatornone
polish.emulator.classDoJaEmulator
polish.identifierDoJa/os25
polish.imageformatgif
polish.javaconfigurationCLDC/1.0
polish.javaplatformDoJa/2.5
polish.key.leftsoftkey21
polish.key.rightsoftkey22
polish.nameos25
polish.needsmanualmenutrue
polish.supportfloatingpointfalse
polish.vendorDoJa

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.0.jar
polish.build.bootclasspath.doja-2.5.jar
polish.build.bootclasspath:defined
polish.build.descriptorcreator.doja
polish.build.descriptorcreator:defined
polish.build.implicitgroups.doja
polish.build.implicitgroups.doja2.5
polish.build.implicitgroups:defined
polish.build.manifestcreator.none
polish.build.manifestcreator:defined
polish.cldc
polish.cldc1.0
polish.doja
polish.doja-25
polish.doja2.5
polish.emulator.class.dojaemulator
polish.emulator.class:defined
polish.identifier.doja/os25
polish.identifier:defined
polish.imageformat.gif
polish.imageformat:defined
polish.isvirtual
polish.javaconfiguration.cldc/1.0
polish.javaconfiguration:defined
polish.javaplatform.doja/2.5
polish.javaplatform:defined
polish.key.leftsoftkey.21
polish.key.leftsoftkey:defined
polish.key.rightsoftkey.22
polish.key.rightsoftkey:defined
polish.name.os25
polish.name:defined
polish.needsmanualmenu
polish.needsmanualmenu.true
polish.needsmanualmenu:defined
polish.supportfloatingpoint.false
polish.supportfloatingpoint:defined
polish.vendor.doja
polish.vendor:defined
back to top