如何调用从Android APP的C2DM PHP函数 [英] How to call the C2DM PHP Function from the Android APP
问题描述
我想一个推送通知服务添加到我的Android应用程序。
我添加了必要的方法在应用程序(接收器,舱单变更等)
I am trying to add a Push Notification service to my Android Application. I added the necessary methods in the application (Receiver, Manifest Changes etc.)
我接着就按照这个(http://stackoverflow.com/questions/4121508/c2dm-implementation-php-$c$c)的职能登记添加到我的第三方服务器C2DM和发送消息。
I then proceeded to follow this (http://stackoverflow.com/questions/4121508/c2dm-implementation-php-code) to add the functions to my third party server for registration to C2DM and sending messages.
这听起来可能很傻,但因为我不是精通PHP时可以有人请告诉我如何调用PHP函数注册/从Android应用程序发送消息。
This may sound silly but as I am not that proficient at PHP can somebody please advise me on how to call the PHP functions to register/send messages from the Android App.
感谢你在前进,我将AP preciate任何帮助,我收到。
Thank you in advance, I will appreciate any help I receive.
RF
推荐答案
首先,C2DM已经死了。万岁 GCM !
First off, C2DM is dead. Long live GCM!
其次,这里是的一个例子。
这篇关于如何调用从Android APP的C2DM PHP函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!