If your device application requires push synchronization, you must configure the device for server-initiated synchronization.
Prerequisites
The device must already be provisioned with Unwired Platform runtimes. You also must have also enabled push synchronization for the Unwired Server as well as configured cache refresh triggers for the mobile business object in Sybase Control Center. For details, see Sybase Control Center online help:
-
Configure > Configuring the Unwired Platform Environment > Unwired Server > Server Properties > Replication > Enabling Push Synchronization
-
Configure > Configuring the Unwired Platform Environment > Packages > Setting Up a Cache group > Scheduling a Cache Refresh
Task- The developer creates the application and designs it as a push synchronization application.
- The user starts the application on the device or emulator.
- The user or administrator enables push sync on the device or emulator and set the push notification role.
- The user synchronizes the MBO to Unwired Server, and restarts the listener so future synchronizations push to the device correctly.