Building Mobile Enterprise Applications : webMethods Mobile Development Help : Creating and Building a Mobile Application : Defining Resources for the Mobile Project : Coding a Custom Resource Handler
Coding a Custom Resource Handler
To use a custom resource handler for your mobile application
1. Code your resource handler. For information, see information about defining resources for mobile applications in Using webMethods Mobile Designer.
Note:  
It is recommended that you save your custom resource handler in your mobile project’s reshandler folder.
2. Ensure the mobile project is open in the Outline Editor. For instructions, see Displaying a Mobile Project in the Outline Editor.
3. Select the top-level child node of the project, which is the root application node.
4. Set the Res Handler property to identify the fully-qualified name of the custom resource handler you coded.
5. Save the resources for your mobile application, for example, audio files and icons. For instructions, see Storing Resource Files for the Mobile Project.
Tip:  
To update the Java classes that Mobile Development generates for the project so that your changes are represented in the generated sources, save the project and regenerate sources. For instructions, see Generating Sources for a Mobile Project.
Copyright © 2007-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback