如何从Java服务器使用GCM通知发送到Android应用程序? [英] how to send notification to android app from java server using GCM?

查看:179
本文介绍了如何从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

这篇关于如何从Java服务器使用GCM通知发送到Android应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆