TOC PREV NEXT INDEX



Packaging your application


There are several steps which you must go through in order to put an application on a Palm OS Platform based handheld computer.

The first step is to build a .jar file with all of the files which are needed for your application. A jar file is useful because it will organize all of your files into one place.

  1. Switch back to the IDE.
  2. In the Project Tree, make sure that 'Java Class Files' is selected. Right-click on TipCalculator.class to bring up the pop-up menu. Choose 'Build jar...', located at the bottom of the list.

This will bring up the Jar Builder window. There are several ways that you can customize this window, but for this tutorial, you do not have to change any of the default settings.

  1. Press the 'Build jar File' button. A Jar file of all the classes you need to run your application will be built for you.

Next you need to convert the Jar file into a Prc file. A Prc file is a file which can be loaded onto your Palm OS Platform based handheld computer.

  1. Select 'Jar/Zip Files' in the IDE. Right click on TipCalculator.jar to bring up the pop-up menu. Choose 'Convert to PRC...'.
  2. A new dialog will appear with many options for customizing the look of your application on the Palm OS Platform. For this test, the default settings are fine. Press the 'Convert' button at the bottom of the dialog.

Simplicity will now create a Prc file based on the Jar file you started with. Prc files are displayed in the 'Prc Files' group of the IDE. If you have set up your program settings correctly, you can double-click a Prc file from within Simplicity and it will be copied to your Palm OS Platform based handheld computer the next time you HotSync your device. You can run the program on the Palm OS Platform by tapping it with your stylus.

Congratulations! You have completed this tutorial and learned many of the basics of working with Simplicity for Palm OS Platform.


Data Representations, Inc.
http://www.datarepresentations.com
support@datarepresentations.com
sales@datarepresentations.com
TOC PREV NEXT INDEX