Add Realtime to PhoneGap for Android

phonegap-pusher.png

Easily add realtime to our PhoneGap Android or iOS application with Pusher.

Introduction

The latest versions of pusher-js works on PhoneGap without the need for anything detailed in this post. Please just follow the quick start guide when getting started building your Pusher-Powered PhoneGap App.

The original post can be found below and is kept purely for historical reasons.


We’ve a whole host of client and server libraries for various technologies. This means no matter your technology of choice there’s an option for you when using Pusher in your app. Whilst having a library and quality documentation are key aspects when using a service sometimes it’s also nice to have a getting started project that you can just download and run. Using Pusher on Android with PhoneGap wasn’t quite as easy as we’d like it to be so I decided to create the Pusher PhoneGap Android starter project.

The README covers all the details you’ll need to get started, but I’ve also created a screencast.

I’m excited about this project because it works around the WebView in Android not supporting WebSockets by using a PhoneGap WebSocket wrapper that’s then made accessible to the JavaScript runtime in the WebView.

We’ve already got a few customers trying out the project but if you have any feedback please drop an email to support@pusher.com or give @pusher a tweet.