UltraLite User's Guide
Tutorial: A Sample UltraLite Application
Lesson 2: Install the sample application to your target platform
You need to carry out the steps in this section only if you wish to run the tutorial on a Palm Computing device. If you wish to run the tutorial on a desktop Windows machine, proceed to Lesson 3: Start the sample application and synchronize.
Use the Palm Install Tool to deploy the application to your device. You must tell Install Tool the location of the application, and then use HotSync to transfer the executable file to the device.
The Adaptive Server Anywhere installation automatically sets registry entries to enable CustDB synchronization via HotSync. These entries associate the UltraLite conduit on Windows with the CustDB application on the Palm Computing device. You must have HotSync Manager 3 installed for HotSync synchronization to work properly.
To install the sample application to a Palm Computing device
Prepare your PC for running Adaptive Server Anywhere and the Palm Desktop software.
Install Adaptive Server Anywhere onto a machine that has Palm Desktop already installed. The Adaptive Server Anywhere installation then adds the registry entries required for HotSync.
On your PC, start Palm Desktop.
Add the sample application to the list of files to install onto your handheld.
Click Install on the Palm Desktop toolbar.
Click Add. Locate the Palm Computing executable file for the sample application. This executable is the file custdb.prc, and it is in the UltraLite\palm\68k subdirectory of your SQL Anywhere directory.
Click Done.
HotSync your Palm Computing device.
The CustDB application is copied into the Applications view on your Palm device.
To copy the sample application to a Palm Computing Platform emulator
Start the Palm emulator.
Right click and select Install Application/Database from the popup menu.
Locate the application and click OK to install.
You may have to refresh the Applications view to see the installed application on the emulator interface.
For the next step, see Lesson 3: Start the sample application and synchronize.