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 Mobile and Windows 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. See setMBAServer method.
Otherwise, use the standard methods to set synchronization parameters. See SyncParms class.
Save the synchronization parameters so that they can be read by ulconnect.exe.
Call the Connection.saveSyncParms method to save the synchronization parameters. See saveSyncParms method.
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |