Previous Step:
Create an Application class.
Back to Top
Generate an executable application
Generating an executable .prc file is very simple: just
select the System/Generate Code menu option in the Launcher.
Enter an appropriate filename for the .prc file (for example,
tutorial.prc) and, after a short delay, the file is written to
disk. You can then install the file on your PalmPilot with HotSync or
an equivalent tool. Since you have not given the application a name
yet, it shows up as just "PST App". You can set the application's
name by changing the value of the ##applicationTitle constant
in the Constants Browser. You can also change the application's
Creator ID via the ##creatorID constant.
Note that you need to use the System/Generate Code option
every time you want to test your application on the PalmPilot,
in order to have your changes take effect. You also need to
re-generate the code if you change a form layout or some other
included resource.
Try running the application on your PalmPilot; you should see the form
layout defined earlier. Pushing the button will not have any effect,
because you have not yet told Pocket Smalltalk about the button. This
is covered in the next page.
Next Step: Create bindings to
PalmOS widgets.
Back to Top