BlackBerry Development Fundamentals

What people have said about the book:

This book not only serves as a great reference for competent developers, but also acts as a great training guide for developers getting started with the Blackberry platform. Has saved me a fortune in staff training costs!! All different areas and approaches of the Blackberry infrastructure are covered and no stones are left unturned.

David Pickering

Home Inside the Book Sample Code Chapter 6 - RIM Push Example
Chapter 6 - RIM Push Example PDF Print E-mail

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.

Attachments:
Download this file (Browser Push (RIM).zip)Browser Push (RIM).zip75 Kb26/10/09 16:08
 
InformIT (Pearson Education)