J2ME Polish
J2ME Polish 2.4 Documentation
Enough Software

Alcatel/OT-800A


Display

PropertyValuePreprocessing Access
Canvas-Size (width x height)320x194polish.CanvasSize, polish.CanvasWidth, polish.CanvasHeight
Canvas-Size in fullscreen mode320x240polish.FullCanvasSize, polish.FullCanvasWidth, polish.FullCanvasHeight
Supports Pointer/Touch Eventsnopolish.hasPointerEvents

Platform

PropertyValuePreprocessing Access
VendorAlcatelpolish.Vendor
PlatformMIDP/2.0, JTWI/1.0polish.JavaPlatform, polish.midp2
ConfigurationCLDC/1.1polish.JavaConfiguration, polish.cldc1.1
Supported APIsnokia-ui, fileconnection, mmapi, mmapi1.1, pimapi, wmapi, wmapi2.0, wmapipolish.JavaPackage, polish.api.nokia-ui, polish.api.fileconnection, polish.api.mmapi, polish.api.mmapi1.1, polish.api.pimapi, polish.api.wmapi, polish.api.wmapi2.0, polish.api.wmapi
Meets the Recommended Capablities for the J2ME Polish GUIyes  --

Keys

KeyValuePreprocessing Variable
Left Soft Key-6polish.key.LeftSoftKey
Middle Soft Key-34polish.key.MiddleSoftKey
Right Soft Key-7polish.key.RightSoftKey
Clear Key-8polish.key.ClearKey

Known Issues

Issue 1AreaDescription
FillPolygonRequiresPositiveXYInNokiaUiApiuiNokia-UI-API: In DirectGraphics.fillPolygon each x and y point needs to be at least 1 or higher, otherwise the rendering is aborted without error message.
Solution
Use x/y points that are 1 or higher, or use MIDP 2.0 drawRGB instead.
Preprocessing Symbol
polish.Bugs.FillPolygonRequiresPositiveXYInNokiaUiApi
 

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
nokia-uiresources/nokia-ui
fileconnectionresources/fileconnection
mmapiresources/mmapi
mmapi1.1resources/mmapi1.1
pimapiresources/pimapi
wmapiresources/wmapi
wmapi2.0resources/wmapi2.0
wmapiresources/wmapi
CanvasSize.320x194resources/CanvasSize.320x194
FullCanvasSize.320x240resources/FullCanvasSize.320x240

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.bugsFillPolygonRequiresPositiveXYInNokiaUiApi
polish.build.bootclasspathcldc-1.1.jar,midp-2.0.jar
polish.build.implicitgroupsmidp2
polish.canvasheight194
polish.canvassize320x194
polish.canvaswidth320
polish.classes.fullscreencom.nokia.mid.ui.FullCanvas
polish.colors65536
polish.font.default16
polish.font.large22
polish.font.medium16
polish.font.small12
polish.fullcanvasheight240
polish.fullcanvassize320x240
polish.fullcanvaswidth320
polish.hasrepeateventstrue
polish.identifierAlcatel/OT-800A
polish.imageformatjpeg, gif, bmp, wbmp
polish.javaconfigurationCLDC/1.1
polish.javapackagenokia-ui, fileconnection, mmapi1.1, pimapi, wmapi2.0, wmapi1.1
polish.javaplatformMIDP/2.0, JTWI/1.0
polish.key.clearkey-8
polish.key.down-2
polish.key.fire-5
polish.key.gamea49
polish.key.gameb51
polish.key.gamec55
polish.key.gamed57
polish.key.left-3
polish.key.leftsoftkey-6
polish.key.middlesoftkey-34
polish.key.returnkey-41
polish.key.right-4
polish.key.rightsoftkey-7
polish.key.up-1
polish.microedition.commports0
polish.microedition.configurationCLDC-1.1
polish.microedition.encodingISO8859_1
polish.microedition.jtwi.version1.0
polish.microedition.platformAlcatel-OT-800A/1.0
polish.microedition.profilesMIDP-2.0
polish.mmapi.audio.encodingsencoding=audio/wav encoding=audio/amr encoding=audio/amr-wb
polish.mmapi.protocol.captureaudio/x-wav, audio/amr, audio/amr-wb, image/jpeg, video/3gpp
polish.mmapi.protocol.deviceaudio/x-tone-seq, audio/midi
polish.mmapi.protocol.fileaudio/x-tone-seq, audio/x-wav, audio/midi, audio/sp-midi, audio/imelody, audio/amr, audio/amr-wb, audio/mpeg, audio/aac, audio/m4a, audio/wma, image/gif, audio/mp2, application/sdp, video/mp4, audio/mp4, video/3gpp, audio/3gpp
polish.mmapi.protocol.httpaudio/x-tone-seq, audio/x-wav, audio/midi, audio/sp-midi, audio/imelody, audio/amr, audio/amr-wb, audio/mpeg, audio/aac, audio/m4a, audio/wma, image/gif, audio/mp2, application/sdp, video/mp4, audio/mp4, video/3gpp, audio/3gpp
polish.mmapi.supportsaudiocapturetrue
polish.mmapi.supportsvideocapturetrue
polish.mmapi.video.encodingsencoding=video/3gpp
polish.nameOT-800A
polish.nokiauiapiversion1.0
polish.propertiesmicroedition.commports, microedition.io.file.FileConnection.version, microedition.profiles, microedition.platform, microedition.jtwi.version, microedition.m3g.version, microedition.configuration, file.separator, fileconn.dir.photos, supports.recording, microedition.locale, video.snapshot.encodings, supports.video.capture, supports.mixing, video.encodings, microedition.encoding, microedition.pim.version, microedition.media.version, audio.encodings, fileconn.dir.memorycard, supports.audio.capture
polish.protocol.rtspapplication/sdp, video/mp4, audio/mp4, video/3gpp, audio/3gpp
polish.supportfloatingpointtrue
polish.timezonesGMT, UTC, San Juan
polish.totalmemory5242880
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.fileconnection
polish.api.fileconnectionapi
polish.api.mmapi
polish.api.mmapi1.1
polish.api.nokia-ui
polish.api.pim
polish.api.pimapi
polish.api.wmapi
polish.api.wmapi2.0
polish.bugs.fillpolygonrequirespositivexyinnokiauiapi
polish.bugs:defined
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.canvasheight:defined
polish.canvassize.320x194
polish.canvassize:defined
polish.canvaswidth:defined
polish.classes.fullscreen.com.nokia.mid.ui.fullcanvas
polish.classes.fullscreen:defined
polish.cldc
polish.cldc1.1
polish.cldc11
polish.colors.65536
polish.colors:defined
polish.font.default.16
polish.font.default:defined
polish.font.large.22
polish.font.large:defined
polish.font.medium.16
polish.font.medium:defined
polish.font.small.12
polish.font.small:defined
polish.fullcanvasheight:defined
polish.fullcanvassize.320x240
polish.fullcanvassize:defined
polish.fullcanvaswidth:defined
polish.hasfloatingpoint
polish.hasrepeatevents
polish.hasrepeatevents.true
polish.hasrepeatevents:defined
polish.identifier.alcatel/ot-800a
polish.identifier:defined
polish.imageformat.bmp
polish.imageformat.gif
polish.imageformat.jpeg
polish.imageformat.wbmp
polish.imageformat:defined
polish.isdoublebuffered
polish.javaconfiguration.cldc/1.1
polish.javaconfiguration:defined
polish.javapackage.fileconnection
polish.javapackage.mmapi1.1
polish.javapackage.nokia-ui
polish.javapackage.pimapi
polish.javapackage.wmapi1.1
polish.javapackage.wmapi2.0
polish.javapackage:defined
polish.javaplatform.jtwi/1.0
polish.javaplatform.midp/2.0
polish.javaplatform:defined
polish.jtwi
polish.key.clearkey.-8
polish.key.clearkey:defined
polish.key.down.-2
polish.key.down:defined
polish.key.fire.-5
polish.key.fire:defined
polish.key.gamea.49
polish.key.gamea:defined
polish.key.gameb.51
polish.key.gameb:defined
polish.key.gamec.55
polish.key.gamec:defined
polish.key.gamed.57
polish.key.gamed:defined
polish.key.left.-3
polish.key.left:defined
polish.key.leftsoftkey.-6
polish.key.leftsoftkey:defined
polish.key.middlesoftkey.-34
polish.key.middlesoftkey:defined
polish.key.returnkey.-41
polish.key.returnkey:defined
polish.key.right.-4
polish.key.right:defined
polish.key.rightsoftkey.-7
polish.key.rightsoftkey:defined
polish.key.up.-1
polish.key.up:defined
polish.microedition.commports.0
polish.microedition.commports:defined
polish.microedition.configuration.cldc-1.1
polish.microedition.configuration:defined
polish.microedition.encoding.iso8859_1
polish.microedition.encoding:defined
polish.microedition.jtwi.version.1.0
polish.microedition.jtwi.version:defined
polish.microedition.platform.alcatel-ot-800a/1.0
polish.microedition.platform:defined
polish.microedition.profiles.midp-2.0
polish.microedition.profiles:defined
polish.midp
polish.midp2
polish.mmapi.audio.encodings.encoding=audio/wav encoding=audio/amr encoding=audio/amr-wb
polish.mmapi.audio.encodings:defined
polish.mmapi.protocol.capture.audio/amr
polish.mmapi.protocol.capture.audio/amr-wb
polish.mmapi.protocol.capture.audio/x-wav
polish.mmapi.protocol.capture.image/jpeg
polish.mmapi.protocol.capture.video/3gpp
polish.mmapi.protocol.capture:defined
polish.mmapi.protocol.device.audio/midi
polish.mmapi.protocol.device.audio/x-tone-seq
polish.mmapi.protocol.device:defined
polish.mmapi.protocol.file.application/sdp
polish.mmapi.protocol.file.audio/3gpp
polish.mmapi.protocol.file.audio/aac
polish.mmapi.protocol.file.audio/amr
polish.mmapi.protocol.file.audio/amr-wb
polish.mmapi.protocol.file.audio/imelody
polish.mmapi.protocol.file.audio/m4a
polish.mmapi.protocol.file.audio/midi
polish.mmapi.protocol.file.audio/mp2
polish.mmapi.protocol.file.audio/mp4
polish.mmapi.protocol.file.audio/mpeg
polish.mmapi.protocol.file.audio/sp-midi
polish.mmapi.protocol.file.audio/wma
polish.mmapi.protocol.file.audio/x-tone-seq
polish.mmapi.protocol.file.audio/x-wav
polish.mmapi.protocol.file.image/gif
polish.mmapi.protocol.file.video/3gpp
polish.mmapi.protocol.file.video/mp4
polish.mmapi.protocol.file:defined
polish.mmapi.protocol.http.application/sdp
polish.mmapi.protocol.http.audio/3gpp
polish.mmapi.protocol.http.audio/aac
polish.mmapi.protocol.http.audio/amr
polish.mmapi.protocol.http.audio/amr-wb
polish.mmapi.protocol.http.audio/imelody
polish.mmapi.protocol.http.audio/m4a
polish.mmapi.protocol.http.audio/midi
polish.mmapi.protocol.http.audio/mp2
polish.mmapi.protocol.http.audio/mp4
polish.mmapi.protocol.http.audio/mpeg
polish.mmapi.protocol.http.audio/sp-midi
polish.mmapi.protocol.http.audio/wma
polish.mmapi.protocol.http.audio/x-tone-seq
polish.mmapi.protocol.http.audio/x-wav
polish.mmapi.protocol.http.image/gif
polish.mmapi.protocol.http.video/3gpp
polish.mmapi.protocol.http.video/mp4
polish.mmapi.protocol.http:defined
polish.mmapi.supportsaudiocapture
polish.mmapi.supportsaudiocapture.true
polish.mmapi.supportsaudiocapture:defined
polish.mmapi.supportsvideocapture
polish.mmapi.supportsvideocapture.true
polish.mmapi.supportsvideocapture:defined
polish.mmapi.video.encodings.encoding=video/3gpp
polish.mmapi.video.encodings:defined
polish.name.ot-800a
polish.name:defined
polish.nokiauiapiversion.1.0
polish.nokiauiapiversion:defined
polish.properties.audio.encodings
polish.properties.file.separator
polish.properties.fileconn.dir.memorycard
polish.properties.fileconn.dir.photos
polish.properties.microedition.commports
polish.properties.microedition.configuration
polish.properties.microedition.encoding
polish.properties.microedition.io.file.fileconnection.version
polish.properties.microedition.jtwi.version
polish.properties.microedition.locale
polish.properties.microedition.m3g.version
polish.properties.microedition.media.version
polish.properties.microedition.pim.version
polish.properties.microedition.platform
polish.properties.microedition.profiles
polish.properties.supports.audio.capture
polish.properties.supports.mixing
polish.properties.supports.recording
polish.properties.supports.video.capture
polish.properties.video.encodings
polish.properties.video.snapshot.encodings
polish.properties:defined
polish.protocol.rtsp.application/sdp
polish.protocol.rtsp.audio/3gpp
polish.protocol.rtsp.audio/mp4
polish.protocol.rtsp.video/3gpp
polish.protocol.rtsp.video/mp4
polish.protocol.rtsp:defined
polish.supportfloatingpoint
polish.supportfloatingpoint.true
polish.supportfloatingpoint:defined
polish.supportspolishgui
polish.timezones.gmt
polish.timezones.san juan
polish.timezones.utc
polish.timezones:defined
polish.totalmemory.5242880
polish.totalmemory:defined
polish.vendor.alcatel
polish.vendor:defined
back to top