|
Chapter 6 covers in great detail how to push data to a BES-connected BlackBerry device. The chapter covers using two different options supported by RIM (RIM Push and PAP Push) to push the data to the device. In the attachment below is a complete Microsoft Visual Studio C# application (created with help from my good frient Brent Thornton) that illustrates how to use RIM Push.
Instead of using a bunch of if/then statements to dynamically build each of the different push types (cache push, channel push, channel delete and message push), each type is dealt with in its own method - making it easier (I believe) to understand what's happening when you're looking at a complete example (and not a bunch of code for other push types). I don't expect that you would ever write your own applications this way, I just did it the way I did to help make the example easier to undersatand and easier for you to compare one push type to another.
|