Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » UltraLite - C and C++ Programming » Application Development » Developing UltraLite applications for the Palm OS


Deploying Palm applications

This section describes the following aspects of deploying Palm applications:

Install your UltraLite application on your Palm device as you would any other Palm OS application.

Deploying the application

To install an application on a Palm device

  1. Open the Install Tool, included with your Palm Desktop Organizer Software.

  2. Choose Add and specify the location of your compiled application (.prc file).

  3. Close the Install Tool.

  4. Use the HotSync utility to copy the application to your Palm device.

Deploying the MobiLink synchronization conduit

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.

Deploying UltraLite databases

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.

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.