Grails C2DM – Android

Find some Grails plug - ins that implement Android push notifications

I'm already using APNs for iPhone, but now I have to implement it for Android! Any suggestions?!

resolvent:

The server side of C2DM is very simple. I think this is why there is no plug-in

You just need to get the authentication token and send an HTTP post request to the Google C2DM server in the oder to push your message

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

But there seems to be another Java library that can be used in groovy / Grails:

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

Here you will find more details on how to push messages:

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

Sample java code can be found here:

But I guess you can create your own groovy code with fewer lines

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>