Building Mobile Enterprise Applications : Using webMethods Mobile Designer : Defining Resources for a Mobile Application Project : About the Resource Handler
About the Resource Handler
Each project requires its own resource handler that you code. The goals of the resource handler are to:
*Define all the resources to include with your mobile application, such as graphics, text, icons, and sounds.
*Set parameters that define the identifiers for resources, text lines, menus, and resource blocks. Mobile Designer includes the parameters in the Parameters.java. For more information about the Parameters class, see Application and Parameter Classes.
For information about how to code the resource handler for your project, see Coding the Resource Handler.
You also must store the resource files that your project requires, for example image files, text files, and audio files. Store the resource files in a location within your project’s folder. For more information, see Storing Resource Files for the Project.
When building your project, Mobile Designer runs your project’s resource handler before it compiles the run-time code. To let Mobile Designer know about the resource handler, for example, the name and location of your resource handler code and the location of your resource files, you set project properties. For more information, see Setting Project Properties for the Resource Handler.
After defining the resources for your project, you can use the resources in your application code. For more information, see Accessing Resources in Your Application Code.
Copyright © 2007-2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback