Home > Articles > Home & Office Computing > Entertainment/Gaming/Gadgets

  • Print
  • + Share This
This chapter is from the book

This chapter is from the book

5.2 How the Application Data Push Process Works

Although each push option works in a slightly different manner, Figure 5.1 shows the data push process at a high level.

Figure 5.1

Figure 5.1 BlackBerry application data push process

To push data to a BlackBerry application, the following steps are performed:

  1. An application creates the data that needs to be pushed to one or more devices and then sends the data to a server. The server can be inside or outside the firewall, depending on the push option being used.
  2. The server verifies the identity of the target recipients.
  3. The server notifies the push application that the data has been accepted.
  4. The server sends the data to the BlackBerry infrastructure.
  5. The BlackBerry infrastructure delivers the data to the device.
  6. The device receives the pushed data and returns an acknowledgment that it received the data.
  7. The BlackBerry infrastructure receives the notification from the device and forwards it to the push server.
  8. The push server returns the notification to the push application.

If the mobile user is out of coverage, the data might still be delivered when the device reappears, as long as it is within certain defined time limits. (Chapters 6 and 7 discuss these limits.) The BlackBerry infrastructure queues requests for a limited amount of time and delivers them when the device returns to coverage. When building a push application, developers must take into account that the device might not be available when the push is sent. The push request can be set up so the push application is notified when the data arrives on the device, and the push application can push the data again if the notification is not received within an expected amount of time.

  • + Share This
  • 🔖 Save To Your Account