Documentation  |   Table of Contents   |  < Previous   |  Next >   |  Index

2    Working with Application Resources

Palm OS® Resource Editor Guide

Palm OS® Developer Suite

This chapter describes the editors for creating and modifying application preferences, application extended preferences, and application information strings.

Overview of Application Resources ^TOP^

To work with application resources, proceed as follows:

  1. In the Navigator or C/C++ Projects tab of Palm OS Developer Suite, double-click the appropriate XRD file.

    Palm OS Resource Editor will load and display the XRD file in the File pane.

  2. In Palm OS Resource Editor, click the XRD file in the Files pane.
  3. Create the application resources by selecting Edit > New Resources menu. Then select the appropriate resource type from the list.

    The correct application resources editor will open.

For more information, read the following:

Using the Application Preferences Editor ^TOP^

To create an application preferences resource, select Edit > New Resources, and then select App Preferences from the list.

If you are editing an existing resource, open the App Preferences folder in the Files pane. Double-click the application preferences resource to launch the editor.

To modify the values, see "Understanding the App Prefs Editor".

Understanding the App Prefs Editor ^TOP^

The Application Preferences editor is a window with several text boxes displaying the default settings. You can modify those settings, if needed. They are:

  • Priority—an integer specifying the priority for the application
  • Stack Size—size of stack, in bytes, required by your application
  • Minimum Heap Size—minimum size of heap, in bytes, required by your application.

Click the X in the corner of the editor window to dismiss it. Any new values you entered will be saved.

Using the Application Extended Preferences Editor ^TOP^

To create an application preferences resource, select Edit > New Resources, and then select App Extended Preferences from the list.

If you are editing an existing resource, open the App Extended Preferences folder in the Files pane. Double-click the application extended preferences resource to launch the editor.

To modify the value, see "Understanding App Extended Prefs Editor".

Understanding App Extended Prefs Editor ^TOP^

The Application Extended Preferences editor is a window with setting. You can modify that setting by selecting the check box, if needed. The setting is:

  • No Overlay—if checked, indicates that the application has no overlay.

Click the X in the corner of the editor window to dismiss it. Any new values you entered will be saved.


NOTE: The application extended preferences resource is used primarily in applications that target Palm OS Garnet or earlier. If you are targeting Palm OS Cobalt, use the Launch Preferences resource instead.

Using the Application Information Strings Editor ^TOP^

To create an application preferences resource, select Edit > New Resources, and then select App Info Strings from the list.

If you are editing an existing resource, open the App Info Strings folder in the Files pane. Double-click the application information strings resource to launch the editor.

To modify the values, see "Understanding the App Info String Editor".

Understanding the App Info String Editor ^TOP^

The Application Information Strings editor is basically a String List editor with 16 sample-text strings already created. For general information on the String List editor, see "Using the String List Editor".

Edit the default app info strings as follows:

  1. Double-click on the sample text —such as, Sample Category 1—to get an insertion point.
  2. Highlight the sample text using the arrow keys, and then press the Delete key.
  3. Enter a string to replace the sample text. This will usually be one of the categories that will ship with your application.
  4. Drag and drop the strings to change the order in which the entries will appear. Normally, this is the list of categories that appear when the user selects the Categories pop-up trigger.
  5. Click the X in the corner of the editor window to dismiss it. Any new values you entered will be saved.