Guest Book
What people have said about the book:
The content is presented in a way that both the professional developer and his line of business manager or sponsoring executive can quickly grasp the key principles that they both have to understand to make good decisions and get on with the business at hand. David Via |
|
|
|
|
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 PSP 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.
One of the things I discovered while creating this download for you is that there are times when PAP push just doesn't work. The PAP push request message has to be formatted exactly as expected (with extra line breaks and everything) and it's possible that the format of the web page you're pushing could make the push not work. I'll publish my findings in an article in the next few days.
|
|
|