Changes in the Hybrid Web Container API include refactored JavaScript API names and new JavaScript APIs.
Some JavaScript API names have been refactored. The JavaScript APIs are now in the "hwc" namespace and the word "Workflow" has been replaced with "HybridApp". The updated API can be found in the installation directory: SUP_HOME\MobileSDK22\HybridApp\API.
This release provides an optional application framework that you can use on top of the core Hybrid Web Container APIs to manage data and user interface exchange. JavaScript APIs are now provided in the installation directory.
Classes | Description |
---|---|
API.js | Functions that users typically call from within a function in Custom.js (or in a function contained in a different .js file called by a function in Custom.js). Roughly categorized into utility functions, message data functions, user interface functions, native functions, and validation functions. |
Custom.js | Entry point where user-supplied code is added. Typical examples of methods include customBeforeMenuItemClick, customAfterDataReceived, and customBeforeShowScreen. |
Utils.js | Functions included in the application framework that the Hybrid App invokes directly. |
WorkflowMessage.js | JavaScript objects and methods that provide an in-memory object hierarchy representation of messages being sent between the Hybrid App and the Unwired Server. |
Resource.js | Access localized string resources. |
Methods | Description |
---|---|
hwc.CustomIcon | Indexes custom icons; defined in hwc-api.js. |
|
Makes online request calls. |
Documented in generated developer documentation, and available from Developer Guide: Hybrid Apps, Hybrid Web Container and Hybrid App JavaScript APIs.
JavaScript APIs that enable a Hybrid App to access OData enterprise information system (EIS) data sources.
Classes | Description |
---|---|
Data.js | Open source API shipped with Unwired Platform |