Grails C2DM - Android

is looking for a Grails plugin that implements push notification for Android.

I already use apns for Iphone, but now I have to implement it for Android! any suggestion?!

+4
source share
1 answer

The server side of C2DM is simple, and I think the reason why there is no plugin.

You just need to get the authentication token, and then execute an HTTP request to the Google C2DM server in another to click your message

http://android-developers.blogspot.com/2010/05/android-cloud-to-device-messaging.html

but there also seems to be a Java library that can be used in groovy / grails:

http://www.openintents.org/en/node/724

here you will find more information on how to click messages:

http://code.google.com/intl/de-DE/android/c2dm/#server

Sample Java code can be found here:

http://code.google.com/p/jumpnote/source/browse/#svn%2Ftrunk%2FJumpNoteWeb%2Fc2dm%2Fcom%2Fgoogle%2Fandroid%2Fc2dm%2Fserver

But I think you can create your own groovy code with fewer lines ... :-)

+3
source

All Articles