Need a Little Push?
Push Notifications area an important new feature in the new iPhone 3.0, and one that will be naturally useful for most people using RemObjects SDK to build iPhone apps because – by definition – if you’re using RO, you have a server that your iPhone app talks to, and the potential to have things happening on said server that warrant notification.
As of today, we have published a new, small open source project that sits on top of RemObjects SDK for .NET and RemObjects SDK for OS X to make it really easy to add push notification support to your apps. And i mean, really easy.
Available on code.remobjects.com as part of the iPhone Goodies repository, RemObjects.SDK.ApplePushProvider takes care of the entire package of handling Push notifications: Getting your devices registered with the server (and maintaining and persisting said registration over time) and sending out the actual notifications. All that’s left for you to do, really, is to come up with things to notify your about!
I’ve written up an extensive overview of how it all works on our wiki.
As mentioned above, the provider is implemented using RemObjects SDK for .NET, but for those of you using RO/Delphi, it will also provide a good conceptual starting point for implementing the same in Delphi (and who knows, maybe you can contribute it back to the repository). Even if you;re not using RemObjects SDK at all, it should still be a good reference implementation.
I hope you’ll find this useful, and – as always – feedback (and contribution!) would be greatly appreciated.
yours,
marc hoffman