UltraLite Embedded SQL User's Guide
Developing UltraLite Applications for the Palm Computing Platform
This section describes the following aspects of deploying Palm applications:
Deploying the application.
Deploying the MobiLink synchronization conduit for HotSync.
Deploying an initial copy of the UltraLite database.
See Deploying UltraLite databases on the Palm Computing Platform.
Install your UltraLite application on your Palm device as you would any other Palm Computing Platform application.
To install an application on a Palm device
Open the Install Tool, included with your Palm Desktop Organizer Software.
Choose Add and locate your compiled application (.prc file).
Close the Install Tool.
HotSync 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 Deploying the MobiLink HotSync conduit.
If you deploy your application without a database, the database is created the first time it is accessed from the application. The user must then download an initial copy of data on the first synchronization. You can use the ULUtil 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.
For more information, see The UltraLite utility.
If you are using HotSync synchronization, each of your end users must also install the synchronization conduit onto their desktop machine.
For information on installing the synchronization conduit, see Configuring the MobiLink HotSync conduit.
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 wish the backup bit to remain set to true, you can set the store parameter palm_allow_backup in UL_STORE_PARMS.
For more information, see UL_STORE_PARMS macro.