Contents Index Start the application (Windows)  Start the application (Windows CE) pdf/preface.pdf

UltraLite User's Guide
  Tutorial: A Sample UltraLite Application
    Lesson 3: Start the sample application and synchronize

Start the sample application (Palm Computing Platform)


The sample application for the Palm Computing Platform uses HotSync as the synchronization mechanism.

To start and synchronize the sample application

  1. Place your Palm device into its cradle.

    When you start the sample application for the first time it must be able to synchronize, to download an initial copy of the data. This step is required only the first time you start the application. After that, the downloaded data is stored in the UltraLite database.

  2. Launch the sample application.

    From the Applications view, tap CustDB. An initial dialog displays, prompting you for an employee ID.

  3. Enter an employee ID.

    When running through this section as a tutorial, enter a value of 50. The application also allows values of 51, 52, or 53, but behaves slightly differently in these cases.

    A message box tells you that you must synchronize before proceeding.

  4. Synchronize your application.

    Use HotSync to obtain an initial copy of the data.

  5. Confirm that the data has been synchronized into the application.

    From the Applications view, tap the CustDB application. The display shows an entry sheet for a customer, with entries.

You have now synchronized your data.

For the next step, see Lesson 4: Add an order.

Installing the HotSync conduit 

HotSync synchronization requires a MobiLink HotSync conduit to be installed on the desktop computer. The SQL Anywhere setup program automatically installs a conduit for the CustDB sample application. For other applications, you would have to install the conduit yourself using the dbcond8 command-line utility. The command line used to install the conduit for the CustDB sample application is as follows:

dbcond8 -n CustDB Syb2

where CustDB is the name which HotSync Manager displays, and Syb2 is the Palm creator ID for the application.

To start and synchronize the sample application ( Palm Emulator )

  1. Start the emulator.

  2. Ensure the emulator is set up for TCP/IP synchronization:

  3. Launch the sample application.

    From the Applications view, tap CustDB. An initial dialog displays, prompting you for an employee ID.

  4. Enter an employee ID.

    When running through this section as a tutorial, enter a value of 50. The application also allows values of 51, 52, or 53, but behaves slightly differently in these cases.

    A message box tells you that you must synchronize before proceeding.

  5. Set the application to synchronize using TCP/IP:

  6. Synchronize your application:

  7. Confirm that the data has been synchronized into the application.

    From the Applications view, tap the CustDB application. The display shows an entry sheet for a customer, with entries.


Contents Index Start the application (Windows)  Start the application (Windows CE) pdf/preface.pdf