BlackBerry Development Fundamentals

What people have said about the book:

I have been thinking a lot about what you said about the book not being a "learning Java" book and I think (for me at least) that will be perfect. The Java part, aside from the nuances, is pretty much like C#, etc.... Throw in the RIM API and it's not a huge deal to learn. However, learning it completely and properly obviously will take some time. The stuff you mention, MDS etc..., will be the very topics I will need for sure come time for the release of your book.

Rich Friedel
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)