J2ME Polish
J2ME Polish 2.4 Documentation
Enough Software

BenQ/P30


Display

PropertyValuePreprocessing Access
Screen-Size (width x height)208x320polish.ScreenSize, polish.ScreenWidth, polish.ScreenHeight
Bits per Pixel16
(65,536 colors)
polish.BitsPerPixel
Supports Pointer/Touch Eventsyespolish.hasPointerEvents

Platform

PropertyValuePreprocessing Access
VendorBenQpolish.Vendor
OSSymbian 7.0polish.OS
PlatformMIDP/1.0polish.JavaPlatform, polish.midp1
ConfigurationCLDC/1.0polish.JavaConfiguration, polish.cldc1.0
Supported APIsmmapi, wmapi, btapipolish.JavaPackage, polish.api.mmapi, polish.api.wmapi, polish.api.btapi
Meets the Recommended Capablities for the J2ME Polish GUIyes  --

Memory

PropertyValuePreprocessing Variable
Heap-Size12 MBpolish.HeapSize

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
midp1resources/midp1
mmapiresources/mmapi
wmapiresources/wmapi
btapiresources/btapi
ScreenSize.208x320resources/ScreenSize.208x320
BitsPerPixel.4+resources/BitsPerPixel.4+
BitsPerPixel.8+resources/BitsPerPixel.8+
BitsPerPixel.12+resources/BitsPerPixel.12+
BitsPerPixel.16+resources/BitsPerPixel.16+
BitsPerPixel.16resources/BitsPerPixel.16
NoSpriteTransformationsresources/NoSpriteTransformations

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

CapabilityValue
polish.bitsperpixel16
polish.build.bootclasspathcldc-1.0.jar,midp-1.0.jar
polish.build.implicitgroupsmidp1
polish.cameraresolution640x480
polish.frequency900, 1800, 1900
polish.heapsize12 MB
polish.identifierBenQ/P30
polish.javaconfigurationCLDC/1.0
polish.javapackagemmapi, wmapi, btapi
polish.javaplatformMIDP/1.0
polish.nameP30
polish.networkGSM, GPRS, HSCSD
polish.osSymbian 7.0
polish.screenheight320
polish.screensize208x320
polish.screenwidth208
polish.supportfloatingpointfalse
polish.vendorBenQ
polish.vendor.aliasBenQ-Siemens
polish.wap.useragentBenQ P30BenQ P30/R101 Profile/MIDP-2.0 Configuration/CLDC-1.0

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.btapi
polish.api.mmapi
polish.api.wmapi
polish.bitsperpixel.16
polish.bitsperpixel:defined
polish.build.bootclasspath.cldc-1.0.jar
polish.build.bootclasspath.midp-1.0.jar
polish.build.bootclasspath:defined
polish.build.implicitgroups.midp1
polish.build.implicitgroups:defined
polish.cameraresolution.640x480
polish.cameraresolution:defined
polish.cldc
polish.cldc1.0
polish.doublebuffering
polish.frequency.1800
polish.frequency.1900
polish.frequency.900
polish.frequency:defined
polish.hascamera
polish.haspointerevents
polish.heapsize.12 mb
polish.heapsize:defined
polish.identifier.benq/p30
polish.identifier:defined
polish.javaconfiguration.cldc/1.0
polish.javaconfiguration:defined
polish.javapackage.btapi
polish.javapackage.mmapi
polish.javapackage.wmapi
polish.javapackage:defined
polish.javaplatform.midp/1.0
polish.javaplatform:defined
polish.midp
polish.midp1
polish.name.p30
polish.name:defined
polish.network.gprs
polish.network.gsm
polish.network.hscsd
polish.network:defined
polish.os.symbian 7.0
polish.os:defined
polish.screenheight:defined
polish.screensize.208x320
polish.screensize:defined
polish.screenwidth:defined
polish.supportfloatingpoint.false
polish.supportfloatingpoint:defined
polish.supportspolishgui
polish.vendor.alias.benq-siemens
polish.vendor.alias:defined
polish.vendor.benq
polish.vendor:defined
polish.wap.useragent.benq p30benq p30/r101 profile/midp-2.0 configuration/cldc-1.0
polish.wap.useragent:defined
back to top