Enabling Push Synchronization on BlackBerry

This is an example of the general procedure for configuring push synchronization on BlackBerry.

Prerequisites
The mobile business object (MBO) used for the device application must be associated with a cache group for which the cache policy is set to "scheduled." See Sybase Unwired WorkSpace - Mobile Business Object Development > Develop > Working with Mobile Business Objects > Mobile Business Object Mobility Properties > Cache Groups > Creating Cache Groups and Sybase Unwired WorkSpace - Mobile Business Object Development > Develop > Working with Mobile Business Objects > Mobile Business Object Mobility Properties > Cache Groups > Assigning Mobile Business Objects to a Cache Group.
Task

  1. Right-click the Mobile Application Project for which to create the device application and select Create Device Application Designer.
  2. Select BlackBerry as the device platform.
    The screens and connections for the application are created automatically.
  3. From the Flow Design Palette, drag and drop the Push Settings screen onto the Settings Screens box.
  4. Verify and generate the code for the device application.
  5. On the Simulator or device, go the Push Settings screen in the BlackBerry Options menu.
  6. Enter the MDS host and port number and save the information.
  7. Open the application, then open the Synchronize screen.
  8. Select the synchronization group for which you want to enable push, then select Synchronization Group Info.
  9. Select the Push enabled option and enter the configuration settings.
  10. Save the push settings.
  11. Synchronize the synchronization group on the BlackBerry device to register the push synchronization settings with the server.
    After synchronization, the client can receive the push notification when data changes in the server database.