Need a push framework for android

We need to achieve a push functionality in our chat application chat for android. We do not want to pursue the method of polling a http-endpoint based on a DB because that would mean polling, and its seriously going to drain the battery too fast.

So, we are looking for a realtime Push framework or a PubSub mechanism with channel subscription (each user will be aunique channelname for his lifetime). We have gone through the following:

  • Faye.js (based on nodejs and redis, but doesnt have an android library for clients)
  • Pusher (but this has a limit of "active connection". This will not let many users be online since each user login will create a connection to pusher.com which is billed)
  • PubNub (same problem as Pusher.com)

Any messaging framework with android client library would do in our case.

Try out Google Cloud Messaging for Android.