J2ME Polish
J2ME Polish 2.4 Documentation
Enough Software

Generic/android_HVGA


Display

PropertyValuePreprocessing Access
Screen-Size (width x height)320x480polish.ScreenSize, polish.ScreenWidth, polish.ScreenHeight
Supports Pointer/Touch Eventsyespolish.hasPointerEvents

Platform

PropertyValuePreprocessing Access
VendorGenericpolish.Vendor
OSandroidpolish.OS
PlatformAndroid/2.3.3polish.JavaPlatform, polish.android
ConfigurationAndroid/2.3.3polish.JavaConfiguration, polish.cldc1.1
Supported APIsmmapi, pdaapi, wmapi, locationapi, mmapi, pdaapi, wmapi, locationapi, mmapi, pdaapi, wmapi, locationapipolish.JavaPackage, polish.api.mmapi, polish.api.pdaapi, polish.api.wmapi, polish.api.locationapi, polish.api.mmapi, polish.api.pdaapi, polish.api.wmapi, polish.api.locationapi, polish.api.mmapi, polish.api.pdaapi, polish.api.wmapi, polish.api.locationapi
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
androidresources/android
mmapiresources/mmapi
pdaapiresources/pdaapi
wmapiresources/wmapi
locationapiresources/locationapi
mmapiresources/mmapi
pdaapiresources/pdaapi
wmapiresources/wmapi
locationapiresources/locationapi
mmapiresources/mmapi
pdaapiresources/pdaapi
wmapiresources/wmapi
locationapiresources/locationapi
ScreenSize.320x480resources/ScreenSize.320x480

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.android.permissionsRECORD_AUDIO,ACCESS_FINE_LOCATION,ACCESS_MOCK_LOCATION,ACCESS_LOCATION_EXTRA_COMMANDS,ACCESS_COARSE_LOCATION,RECEIVE_SMS,SEND_SMS,READ_CONTACTS,WRITE_CONTACTS,READ_PHONE_STATE,WAKE_LOCK,STATUS_BAR,INTERNET,VIBRATE,BLUETOOTH,BLUETOOTH_ADMIN
polish.build.android.platform.api10
polish.build.android.platform.targetandroid-10
polish.build.android.platform.version2.3.3
polish.build.bootclasspathandroid-2.3.3.jar,android-1.1.jar,android-2.3.3.jar,android-1.1.jar,android-2.3.3.jar,android-1.1.jar
polish.build.classes.fullscreende.enough.polish.android.lcdui.Canvas
polish.build.classes.nativedisplayde.enough.polish.android.lcdui.AndroidDisplay
polish.build.classes.nativefontde.enough.polish.android.lcdui.Font
polish.build.classes.nativegraphicsde.enough.polish.android.lcdui.Graphics
polish.build.classes.nativeimagede.enough.polish.android.lcdui.Image
polish.build.classes.screende.enough.polish.android.lcdui.Canvas
polish.build.descriptorcreatornone
polish.build.implicitgroupsandroid
polish.build.preverifiernone
polish.display.baseclassde.enough.polish.android.lcdui.Canvas
polish.emulator.classAndroidEmulator
polish.emulator.skinHVGA
polish.iconheight48
polish.iconsize48x48
polish.iconwidth48
polish.identifierGeneric/android_HVGA
polish.java5true
polish.javac.destdiractivity/bin/classes
polish.javac.source1.5
polish.javac.srcdiractivity/src
polish.javac.target1.5
polish.javaconfigurationAndroid/2.3.3
polish.javapackagemmapi,pdaapi,wmapi,location,mmapi,pdaapi,wmapi,location,mmapi,pdaapi,wmapi,location
polish.javaplatformAndroid/2.3.3
polish.key.menu-111
polish.key.returnkey4
polish.key.supportsasciikeymaptrue
polish.menubar.positioninvisible
polish.menubar.useextendedmenubartrue
polish.nameandroid_HVGA
polish.osandroid
polish.screenheight480
polish.screensize320x480
polish.screenwidth320
polish.supportfloatingpointtrue
polish.textfield.usedirectinputtrue
polish.usepolishtitletrue
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.android
polish.android1.1
polish.android2.3
polish.android2.3.3
polish.api.fileconnection
polish.api.fileconnectionapi
polish.api.locationapi
polish.api.mmapi
polish.api.pdaapi
polish.api.pim
polish.api.pimapi
polish.api.wmapi
polish.build.android.permissions.access_coarse_location
polish.build.android.permissions.access_fine_location
polish.build.android.permissions.access_location_extra_commands
polish.build.android.permissions.access_mock_location
polish.build.android.permissions.bluetooth
polish.build.android.permissions.bluetooth_admin
polish.build.android.permissions.internet
polish.build.android.permissions.read_contacts
polish.build.android.permissions.read_phone_state
polish.build.android.permissions.receive_sms
polish.build.android.permissions.record_audio
polish.build.android.permissions.send_sms
polish.build.android.permissions.status_bar
polish.build.android.permissions.vibrate
polish.build.android.permissions.wake_lock
polish.build.android.permissions.write_contacts
polish.build.android.permissions:defined
polish.build.android.platform.api.10
polish.build.android.platform.api:defined
polish.build.android.platform.target.android-10
polish.build.android.platform.target:defined
polish.build.android.platform.version.2.3.3
polish.build.android.platform.version:defined
polish.build.bootclasspath.android-1.1.jar
polish.build.bootclasspath.android-2.3.3.jar
polish.build.bootclasspath:defined
polish.build.classes.fullscreen.de.enough.polish.android.lcdui.canvas
polish.build.classes.fullscreen:defined
polish.build.classes.nativedisplay.de.enough.polish.android.lcdui.androiddisplay
polish.build.classes.nativedisplay:defined
polish.build.classes.nativefont.de.enough.polish.android.lcdui.font
polish.build.classes.nativefont:defined
polish.build.classes.nativegraphics.de.enough.polish.android.lcdui.graphics
polish.build.classes.nativegraphics:defined
polish.build.classes.nativeimage.de.enough.polish.android.lcdui.image
polish.build.classes.nativeimage:defined
polish.build.classes.screen.de.enough.polish.android.lcdui.canvas
polish.build.classes.screen:defined
polish.build.descriptorcreator.none
polish.build.descriptorcreator:defined
polish.build.implicitgroups.android
polish.build.implicitgroups:defined
polish.build.preverifier.none
polish.build.preverifier:defined
polish.cldc
polish.cldc1.1
polish.cldc11
polish.display.baseclass.de.enough.polish.android.lcdui.canvas
polish.display.baseclass:defined
polish.emulator.class.androidemulator
polish.emulator.class:defined
polish.emulator.skin.hvga
polish.emulator.skin:defined
polish.group.android
polish.hasfloatingpoint
polish.haspointerevents
polish.haspointermotionevents
polish.iconheight:defined
polish.iconsize.48x48
polish.iconsize:defined
polish.iconwidth.48
polish.iconwidth:defined
polish.identifier.generic/android_hvga
polish.identifier:defined
polish.isvirtual
polish.java5
polish.java5.true
polish.java5:defined
polish.javac.destdir.activity/bin/classes
polish.javac.destdir:defined
polish.javac.source.1.5
polish.javac.source:defined
polish.javac.srcdir.activity/src
polish.javac.srcdir:defined
polish.javac.target.1.5
polish.javac.target:defined
polish.javaconfiguration.android/2.3.3
polish.javaconfiguration:defined
polish.javapackage.location
polish.javapackage.mmapi
polish.javapackage.pdaapi
polish.javapackage.wmapi
polish.javapackage:defined
polish.javaplatform.android/2.3.3
polish.javaplatform:defined
polish.key.menu.-111
polish.key.menu:defined
polish.key.returnkey.4
polish.key.returnkey:defined
polish.key.supportsasciikeymap
polish.key.supportsasciikeymap.true
polish.key.supportsasciikeymap:defined
polish.menubar.position.invisible
polish.menubar.position:defined
polish.menubar.useextendedmenubar
polish.menubar.useextendedmenubar.true
polish.menubar.useextendedmenubar:defined
polish.midp2
polish.name.android_hvga
polish.name:defined
polish.os.android
polish.os:defined
polish.screenheight:defined
polish.screensize.320x480
polish.screensize:defined
polish.screenwidth:defined
polish.supportfloatingpoint
polish.supportfloatingpoint.true
polish.supportfloatingpoint:defined
polish.supportspolishgui
polish.textfield.usedirectinput
polish.textfield.usedirectinput.true
polish.textfield.usedirectinput:defined
polish.usepolishtitle
polish.usepolishtitle.true
polish.usepolishtitle:defined
polish.vendor.generic
polish.vendor:defined
back to top