The device application must meet these requirements to utilize the replication-based Push Synchronization APIs described in this section.
You can develop the push application directly from generated mobile business object (MBO) code, or from the Device Application Designer.
-
Properly configure and deploy the mobile business objects (MBOs).
-
Create a Cache Group and set the cache policy to Scheduled and set some value for the Cache interval, 30 seconds for example.
-
Create a Synchronization Group and set some value for the Change detection level, one minute for example.
-
Place all Mobile Application project MBOs in the same Cache Group and Synchronization Group.
-
Deploy the Mobile Application Project as Replication-based in the Deployment wizard.
-
Configure the Emulator or device:
-
Copy the server synchronization tool SybaseServerSync.v2.CAB or SybaseServerSync.v35.CAB from ClientAPI\ServerSync\ce\installer to the Emulator or device.
-
Click on the CAB file to install it on the Emulator or device.
-
Develop the application in Device Application Designer.
-
Add the Push Settings and Synchronization stock screens.
-
Generate the device application code.
-
Run the application in the Emulator or device.
-
In the Push Settings screen, define the polling interval and notification file path.

-
In the Synchronization screen, select the Enable push checkbox, choose a push notification mode, and click Save.