如何从Java服务器使用GCM通知发送到Android应用程序?

问题描述:

我有我的简单的android应用程序,它使用的服务从REST Web服务,现在我想用GCM来发送通知,从我的REST Web服务到Android应用程序。

i have my simple android application which use service from Rest Web Service, now i want to sent notification from my rest web service to android application using GCM.

如何做到这一点...有没有简单的教程这一要求..我搜索,但发现了谷歌的API。我不能从understant。

how do this... is there any simple tutorial for this requirement .. I searched but found for google api. i cant understant from that.

下面的链接,启动GCM与GCM code的客户端编码和服务器端编码的简单和详细的解释。 希望它能帮助。所有最优秀的!

Here is the link for starting GCM with simple and exact explanation of GCM Code's Client side coding and Server side coding. Hope it helps. All the best !

http://avilyne.com/?p=267