Indicating that a Project Uses the NativeUI Library
If you want to use the NativeUI library for the user interface of an application, you must configure the Mobile Designer project for that application to indicate:
You want
Mobile Designer to include the NativeUI library when compiling the application.
You want the core canvas hierarchy to include the
CanvasNativeUI class. For more information about the
CanvasNativeUI class, see
webMethods Mobile Designer Java API Reference.
To specify that a project uses the NativeUI library:
1. Open the _defaults_.xml file, which is located in the project’s targets directory.
2. Add the following NativeUI properties to the _defaults_.xml file, specifying the values shown:
<property name="project.runtime.uses.nativeui" value="true"/>
<property name="mobiledesigner.runtime.core.class.ui" value="nui"/>
3. Save and close the _defaults_.xml file.