如何发送使用英特尔应用程序的框架,一个Android推送消息? [英] How to send an Android Push Message using Intels App-Framework?

查看:186
本文介绍了如何发送使用英特尔应用程序的框架,一个Android推送消息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一个解决方案,从PHP在英特尔应用程序框架发送推送消息,但我找不到什么好的解决办法。我发现这一点:
https://gist.github.com/prime31/5675017

I'm looking for a solution to send a Push Message from PHP in Intels App-Framework, but I can't find any good solution. I have found this: https://gist.github.com/prime31/5675017

但我怎么能得到DEVICE_REGISTRATION_ID?这是很难找到一些code或解决方案。

But how can I get the DEVICE_REGISTRATION_ID? It's very difficult to find some code or solution.

推荐答案

香港专业教育学院找到了解决办法。我已经forgott到IP 0.0.0.0/0输入到谷歌API控制台。我加入了推类别的谷歌API密钥和Projectnumber上生成窗口。

Ive found the Solution. I have forgott to type the IP 0.0.0.0/0 into the Google API Console. And i added the Google API Key and Projectnumber by the Push Category on Build Window.

然后我复制粘贴 HTTP的code://docs.appmobi .COM / index.php文件/推送的消息/ 到index_user_scripts.js(仅2号和3)。 1号去的index.html在标题部分。现在,它工作得很好,我可以从服务选项卡发送消息。

Then i copy paste the code from http://docs.appmobi.com/index.php/push-messages/ into index_user_scripts.js (only number 2 and 3). Number 1 goes to index.html on the header section. Now it works fine, i can send messages from the Services Tab.

这篇关于如何发送使用英特尔应用程序的框架,一个Android推送消息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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