This section describes the following aspects of deploying Palm applications:
Deploying the application.
Deploying the UltraLite synchronization conduit for HotSync.
See HotSync on Palm OS.
Deploying an initial copy of the UltraLite database.
Install your UltraLite application on your Palm device as you would any other Palm OS application.
Open the Install Tool, included with your Palm Desktop Organizer Software.
Choose Add and specify the location of your compiled application (.prc file).
Close the Install Tool.
Use the HotSync utility to copy the application to your Palm device.
For applications using HotSync synchronization, each end user must have the MobiLink synchronization conduit installed on their desktop.
For more information about installing the MobiLink synchronization conduit, see HotSync on Palm OS.
If you deploy your application without a database, the application must contain relatively complex code to create the database. The recommended approach is to create an initial database on a Windows desktop and copy the database file to the Palm device. Sybase Central (or the utility ulcreate) can be used to create an initial database. The user must then obtain an initial copy of data on the first synchronization. You can use the uldbutil utility to back up the UltraLite database to the PC. To deploy many UltraLite databases with an initial database including data, you can perform an initial synchronization and then back up the UltraLite database. The database can be deployed on other devices so they do not need to perform an initial synchronization.
See UltraLite Data Management utility for Palm OS (ULDBUtil).
If you are using HotSync synchronization, each of your end users must also install the synchronization conduit onto their desktop machine.
For more information about installing the synchronization conduit, see Deploying the UltraLite HotSync conduit to the end-user's desktop.
If you deploy a database using HotSync, HotSync sets a backup bit on the database. When this backup bit is set, the entire database is backed up to the desktop machine on each synchronization. This behavior is generally not appropriate for UltraLite databases. When an UltraLite application is launched, the Palm data store is checked to see if its backup bit is set to true. If it is set, it is cleared. If it is not set, there is no change.
If you want the backup bit to remain set to true, you can set the store parameter palm_allow_backup in the database connection string.