Push Service
The benefits of push technology are huge. Just imagine displaying notifications in your app the minute an interesting event happens in the real world.
Sample Applications
For server-side Push Initiator Java examples, install the Push Service SDK and look at the High-level Sample Push Initiator (high-level-sample) and the Low-level Sample Push Initiator (low-level-sample).
For device-side push-enabled application examples, there are various samples available depending on the development platform you wish to use.
For BlackBerry 10
- Using the Cascades SDK, the Push Collector sample. See the developer guide for this sample.
- Using the WebWorks SDK, the Push Capture sample. See the developer guide for this sample.
- Using the AIR SDK, the Push Receiver sample. See the developer guide for this sample.
- If your Android application uses Cloud to Device Messaging (C2DM) or Google Cloud Messaging (GCM), see Creating Push-Enabled Android Apps.
For BlackBerry 7 and earlier
- Using the Java SDK, the Push Demo sample. See the developer guide for this sample.
- Using the WebWorks SDK, the pre-BlackBerry 10 push APIs. Note that the push APIs have changed for BlackBerry 10.