Explore the sample push-enabled app
You can use the sample app to learn how to develop your own push-enabled app. The sample app shows you how to use the Push Service APIs to connect with a Push Initiator, and receive push messages on a BlackBerry device.
The sample app accepts push messages with the following types of content. If you're using the Push Service SDK to develop a Push Initiator, the API automatically specifies the type of content in the header of the push message. Using the Push Service, a Push Initiator can send up to 8 KB of any type of content (images, text, or audio).
|Type of content||Content-type HTTP header|
|Image||image/jpeg, image/gif, image/png|
To test the sample app on a device, you need to have a Push Initiator running. The Push Service SDK includes sample Push Initiators.If you implement a Push Initiator that doesn't use the Push Service SDK, or your Push Initiator only uses the low-level APIs without subscription support from the SDK, you can still use the sample app for testing purposes. You need to indicate that you are not going to subscribe with the Push Service SDK when you configure the sample app. For details, see Configure the sample app.
Last modified: 2013-11-27