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

SQL Anywhere 12.0.1 » MobiLink - Getting Started » MobiLink technology » CustDB sample for MobiLink » CustDB setup


Setting up an UltraLite remote database

The following procedure creates a remote database for CustDB. The CustDB remote database must be an UltraLite database.

The application logic for the remote database is located in %SQLANYSAMP12%\UltraLite\CustDB. It includes the following files:

  • Embedded SQL logic   The file custdb.sqc contains the SQL statements needed to query and modify information from the UltraLite database, and the calls required to start synchronization with the consolidated database.

  • C++ API logic   The file custdbcpp.cpp contains the C++ API logic.

  • User-interface features   These features are stored separately, in platform-specific subdirectories of Samples\UltraLite\CustDB.

 Install the sample application to a remote device and synchronize

You complete the following steps to install the sample application to a remote device that is running UltraLite:

  1. Start the consolidated database.

  2. Start the MobiLink server.

  3. Install and start the sample application to your client device.

  4. Synchronize the sample application.