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

SAP Sybase SQL Anywhere 16.0 » MobiLink - Getting Started » MobiLink technology » CustDB sample for MobiLink » CustDB files

 

UltraLite remote database setup

The following example 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 %SQLANYSAMP16%\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.

To install the sample application to a remote device that is running UltraLite, do the following:

  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.

 Example