J2ME Polish
J2ME Polish 2.4 Documentation
Enough Software

Generic/DotNetCF1.1


An unknown Windows powered phone with .NET CF 1.1 support.

Display

PropertyValuePreprocessing Access
Supports Pointer/Touch Eventsyespolish.hasPointerEvents

Platform

PropertyValuePreprocessing Access
VendorGenericpolish.Vendor
OSWindows Mobile 5.0polish.OS
PlatformMIDP/2.0, DotNetCF/1.1polish.JavaPlatform, polish.midp2
ConfigurationCLDC/1.0polish.JavaConfiguration, polish.cldc1.0
Supported APIsmmapi, wmapipolish.JavaPackage, polish.api.mmapi, polish.api.wmapi
Meets the Recommended Capablities for the J2ME Polish GUIyes  --

Memory

PropertyValuePreprocessing Variable
Heap-Size20MBpolish.HeapSize

Multimedia

PropertyValuePreprocessing Access
Supported Audio Formatsmidi, amr, wavpolish.SoundFormat, polish.audio.midi, polish.audio.amr, polish.audio.wav

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
mmapiresources/mmapi
wmapiresources/wmapi
midiresources/midi
amrresources/amr
wavresources/wav
DotNetCF1.1resources/DotNetCF1.1

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.0.jar,midp-2.0.jar
polish.build.finalizerjar2dotnet
polish.build.implicitgroupsmidp2
polish.emulator.classDotNetCFEmulator
polish.heapsize20MB
polish.identifierGeneric/DotNetCF1.1
polish.javaconfigurationCLDC/1.0
polish.javapackagemmapi, wmapi
polish.javaplatformMIDP/2.0, DotNetCF/1.1
polish.menubar.optionspositionright
polish.nameDotNetCF1.1
polish.osWindows Mobile 5.0
polish.soundformatmidi, amr, wav
polish.supportfloatingpointfalse
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.api.mmapi
polish.api.wmapi
polish.audio.amr
polish.audio.midi
polish.audio.wav
polish.build.bootclasspath.cldc-1.0.jar
polish.build.bootclasspath.midp-2.0.jar
polish.build.bootclasspath:defined
polish.build.finalizer.jar2dotnet
polish.build.finalizer:defined
polish.build.implicitgroups.midp2
polish.build.implicitgroups:defined
polish.cldc
polish.cldc1.0
polish.dotnetcf1.1
polish.emulator.class.dotnetcfemulator
polish.emulator.class:defined
polish.group.dotnetcf1.1
polish.haspointerevents
polish.heapsize.20mb
polish.heapsize:defined
polish.identifier.generic/dotnetcf1.1
polish.identifier:defined
polish.isvirtual
polish.javaconfiguration.cldc/1.0
polish.javaconfiguration:defined
polish.javapackage.mmapi
polish.javapackage.wmapi
polish.javapackage:defined
polish.javaplatform.dotnetcf/1.1
polish.javaplatform.midp/2.0
polish.javaplatform:defined
polish.menubar.optionsposition.right
polish.menubar.optionsposition:defined
polish.midp
polish.midp2
polish.name.dotnetcf1.1
polish.name:defined
polish.os.windows mobile 5.0
polish.os:defined
polish.soundformat.amr
polish.soundformat.midi
polish.soundformat.wav
polish.soundformat:defined
polish.supportfloatingpoint.false
polish.supportfloatingpoint:defined
polish.supportspolishgui
polish.vendor.generic
polish.vendor:defined
back to top