UltraLite for M-Business Anywhere User's Guide
Understanding UltraLite for M-Business Anywhere Development
One-button synchronization is a technique for initiating web content synchronization (using M-Business Anywhere) and UltraLite data synchronization (using MobiLink) in a single operation. It is available on Windows CE and Windows XP only. The architecture of one-button synchronization is as follows:
The sequence of events in one button synchronization is as follows:
The user synchronizes their web application, perhaps by placing it in the cradle.
The M-Business Client synchronizes the web content.
The MBConnect component of M-Business Client calls the ulconnect.exe application.
ulconnect.exe initiates synchronization of the UltraLite database.
Data is synchronized with MobiLink.
To implement one-button synchronization you must carry out the following steps:
In your application, set the synchronization parameters for MobiLink synchronization.
If you are synchronizing through M-Business Anywhere you can use the SyncParms.setMBAServer method to set the host and port synchronization parameters. For more information, see Method setMBAServer.
Otherwise, use the standard methods to set synchronization parameters. For more information, see Class SyncParms.
Save the synchronization parameters so that they can be read by ulconnect.exe.
Call the Connection.SaveSyncParms method to save the synchronization parameters. For more information, see Method saveSyncParms.
SQL Anywhere Studio 9.0.2
Copyright © 1989–2004 Sybase, Inc. Portions copyright © 2001–2004 iAnywhere Solutions, Inc. All rights reserved.