Building Mobile Enterprise Applications : Using webMethods Mobile Designer : Project Properties Reference : Run-Time Classes Properties
Run-Time Classes Properties
The run-time classes properties customize how the project uses the run-time classes that Mobile Designer provides.
mobiledesigner.runtime.core.class.camera
Overrides the value that Mobile Designer sets for how mobile application uses a device’s camera.
Note:  
The com.softwareag.mobile.runtime.media.CameraHandler class uses this property. For more information, see Run-Time Media Classes.
Platforms
All
Value
*none if your application does not use the camera, or specific devices that your project supports do not support a camera.
*jsr135 specifies your application uses the Mobile Media API (MMAPI) package for J2ME devices that support the camera.
Default
The default is based on the specific device and is set in the device’s device profile. You can find the device profiles in the following location:
Mobile Designer_directory /Devices
mobiledesigner.runtime.core.class.comms.httpconnection
Overrides the value that Mobile Designer sets for how the mobile application initiates and manages HTTP connections.
Note:  
The com.softwareag.mobile.runtime.comms.HttpConnectionHandler class uses this property. For more information, see Run-Time Comms Classes.
Platforms
All
Value
*none if your application or specific devices that your project supports are not using HTTP connections.
*httpstream if your application is using HTTP connection streams.
Default
The default is based on the specific device and is set in the device’s device profile. You can find the device profiles in the following location:
Mobile Designer_directory /Devices
mobiledesigner.runtime.core.class.comms.messageconnection
Overrides the value that Mobile Designer sets for whether the application uses SMS messaging.
Note:  
The com.softwareag.mobile.runtime.comms.MessageConnectionHandler class uses this property. For more information, see Run-Time Comms Classes.
Platforms
All
Value
*none if your application or specific devices that your project supports are not support SMS messaging.
*wma if your mobile application is using the J2ME Wireless Messaging API for SMS messaging.
Default
The default is based on the specific device and is set in the device’s device profile. You can find the device profiles in the following location:
Mobile Designer_directory /Devices
mobiledesigner.runtime.core.class.datatypes
Overrides the value that Mobile Designer sets to determine which primitive data types can be read when parsing your resources with the run-time com.softwareag.mobile.runtime.storage.ResourceDataTypes class.
Note:  
The com.softwareag.mobile.runtime.storage.ResourceDataTypes class uses this property. For more information, see Run-Time Storage Classes.
Platforms
All
Value
*cldc11 specifies your mobile application uses CLDC 1.1.
CLDC 1.1 supports integer numbers, float and double.
Default
The default is based on the specific device and is set in the device’s device profile. You can find the device profiles in the following location:
Mobile Designer_directory /Devices
mobiledesigner.runtime.core.class.graphics.canvas
Deprecated. Overrides the canvas that Mobile Designer sets for each device.
Note:  
The com.softwareag.mobile.runtime.core.CanvasBase class uses this property. For more information, see Run-Time Canvas Classes.
Platforms
All
Value
*midp1_canvas for javax.microedition.lcdui.Canvas (Mobile Information Device Profile (MIDP)1.0 J2ME devices)
*midp2_gamecanvas for java.microedition.lcdui.game.GameCanvas (Mobile Information Device Profile (MIDP) 2.0 J2ME devices and most newer smartphones)
*nokiaui_fullcanvas for com.nokia.mid.ui.FullCanvas (older Nokia J2ME devices)
Default
The default is based on the specific device and is set in the device’s device profile. You can find the device profiles in the following location:
Mobile Designer_directory /Devices
mobiledesigner.runtime.core.class.graphics.dimensions
Overrides the value that Mobile Designer sets for the screen height and width.
Note:  
The com.softwareag.mobile.runtime.core.CanvasDimensions class uses this property. For more information, see Run-Time Canvas Classes.
Platforms
All
Value
*dynamic if the application responds to the device’s orientation changing from portrait to landscape mode, or vice versa.
*fixed if the application has a fixed orientation either in portrait or landscape mode.
Default
The default is based on the specific device and is set in the device’s device profile. You can find the device profiles in the following location:
Mobile Designer_directory /Devices
mobiledesigner.runtime.core.class.graphics.image
Deprecated. Overrides the value that Mobile Designer sets for how your mobile application loads, draws, and manages images.
Note:  
The com.softwareag.mobile.runtime.media.ImageHandler class uses this property. For more information, see Run-Time Media Classes.
Platforms
All
Value
*midp1 provides the support for the Mobile Information Device Profile (MIDP) 1.0 for J2ME.
MIDP1 devices cannot perform dynamic transformations. When using this value, Mobile Designer creates multiple versions of the images in memory for rendering at draw-time. Do not create unnecessary transformations because the images consume heap-space.
*midp2 provides the support for the Mobile Information Device Profile (MIDP) 2.0 for J2ME.
*nokiaui is a Nokia UI API extension to MIDP 1.0.
Default
The default is based on the specific device and is set in the device’s device profile. You can find the device profiles in the following location:
Mobile Designer_directory /Devices
mobiledesigner.runtime.core.class.interrupts
Deprecated. Overrides the value that Mobile Designer sets for how your mobile application detects interrupts.
Note:  
The com.softwareag.mobile.runtime.core.CanvasInterrupts class uses this property. For more information, see Run-Time Canvas Classes.
Platforms
All
Value
*midp1_canvas (this is a fixed value)
Default
The default is based on the specific device and is set in the device’s device profile. You can find the device profiles in the following location:
Mobile Designer_directory /Devices
mobiledesigner.runtime.core.class.keysandtouch
Deprecated. Overrides the value that Mobile Designer sets for how mobile application detects keypress, touch, or pointer events.
Note:  
The com.softwareag.mobile.runtime.core.CanvasKeysandTouch class uses this property. For more information, see Run-Time Canvas Classes.
Platforms
All
Value
*midp1_canvas (this is a fixed value)
Default
The default is based on the specific device and is set in the device’s device profile. You can find the device profiles in the following location:
Mobile Designer_directory /Devices
mobiledesigner.runtime.core.class.serialize
Overrides the value that Mobile Designer sets for com.softwareag.mobile.runtime.serialize.Serializer class.
Note:  
The com.softwareag.mobile.runtime.serialize.Serializer class uses this property. For more information, see Run-Time Serializer Class.
Platforms
All
Value
*cldc11 specifies your mobile application uses CLDC 1.1.
CLDC 1.1 supports integer numbers, float and double.
Default
The default is based on the specific device and is set in the device’s device profile. You can find the device profiles in the following location:
Mobile Designer_directory /Devices
mobiledesigner.runtime.core.class.softkeys
Deprecated. Overrides the value that Mobile Designer sets for soft-key labels.
Note:  
The com.softwareag.mobile.runtime.core.CanvasSoftKeys class uses this property. For more information, see Run-Time Canvas Classes.
Platforms
All
Value
*graphical
The graphical solution enables amending the soft-key texts for some devices, while on some devices the soft keys do not trigger key callback events.
*lcdui
In the lcdui support, soft-key commands are created and monitored using the optimal setting for each device. lcdui uses the CommandListener for optimization.
Default
The default is based on the specific device and is set in the device’s device profile. You can find the device profiles in the following location:
Mobile Designer_directory /Devices
mobiledesigner.runtime.core.class.sound
Deprecated. Overrides the value that Mobile Designer sets for how your application controls sound and vibration functionality.
Note:  
The com.softwareag.mobile.runtime.media.AudioHandler class uses this property. For more information, see Run-Time Media Classes.
Platforms
All
Value
*If your application does not use sound and vibration, specify none for the value.
*For smartphones, use jsr135 for the value.
*For older legacy J2ME devices, specify one of the following values:
*nokiaui specifies your application uses the audio handler in the Nokia user interface API.
*samsung specifies your application uses the Samsung API com.samsung.util package to deliver audio to the device.
*sprint specifies your application uses the audio handler in the com.sprintpcs.media package available on some Sprint Nextel J2ME devices to deliver audio.
*vscl specifies your application uses the Vodafone Service Class Library.
Default
The default is based on the specific device and is set in the device’s device profile. You can find the device profiles in the following location:
Mobile Designer_directory /Devices
mobiledesigner.runtime.core.class.threading
Overrides the default mechanism that used to manage the primary thread.
Note:  
The com.softwareag.mobile.runtime.core.CanvasThreading class uses this property. For more information, see Run-Time Canvas Classes.
Platforms
All
Value
*thread if you want the mobile application to use java.lang.Thread to manage the primary thread.
*Deprecated. timertask if you want the mobile application to use java.lang.TimerTask to manage the primary thread.
Default
The default is based on the specific device and is set in the device’s device profile. You can find the device profiles in the following location:
Mobile Designer_directory /Devices
mobiledesigner.runtime.core.class.ui
Deprecated. Specifies whether your application uses the CanvasNativeUI run-time class.
Platforms
All
Value
*nui if your application uses the CanvasNativeUI class.
*menu if your application uses older technology that uses a pixel-pushing system for rendering and handling menu flow rather than using the CanvasNativeUI class.
Default
menu
project.numeric.keys.emulate.directionals
Deprecated. Specifies how the keypress response works in your application.
Note:  
The com.softwareag.mobile.runtime.core.CanvasCore class uses this property. For more information, see Run-Time Canvas Classes.
Platforms
All
Value
*false to enable each keypress to return its own key code, for example, pressing 2 on a standard keypad results in storing 2 in the pressed key.
*4way to enable the numeric keys instead of the directional keys and fire the key code and the associated action, for example pressing 2 on a standard keypad results in storing 2 and Up in the pressed key.
*8way to enable the diagonals, for example, pressing 1 on a standard keypad results in storing 1, Up, and Left in the pressed keys.
Note:  
Enabling 4way or 8way controls and referencing directions in an application makes the porting process easier because standard key variations are defined for directional control in Mobile Designer.
Default
4way
project.runtime.uses.nativeui
Deprecated. Specifies whether your application uses the com.softwareag.mobile.runtime.core.CanvasNativeUI class. For more information about the CanvasNativeUI class, see webMethods Mobile Designer Native User Interface Reference.
Platforms
All
Value
*true if your application uses the CanvasNativeUI class.
*false if your application does not use the CanvasNativeUI class.
Default
false
Copyright © 2007-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback