Sends a test GCM message to verify Google Cloud Messaging (GCM) is setup and working properly. Requires Google Cloud Messaging API to be enabled through the Developer Console. Works on a device or emulator to act as a GCM server.
REQUIRES:
API Key - received after enabling Google Cloud Messaging through the Developer Console
Device Token (unique per device) - received after call to getToken()
The only purpose of this app is for developers to verify their GCM code is working correctly.
The project source code is available at this link:
<a href="https://www.google.com/url?q=https://www.google.com/url?q%3Dhttps://gitlab.com/NightSkyDev/GCMTester.git%26sa%3DD%26usg%3DAFQjCNEzUII2F9T7yCBWerKISe7G19ZL3A&sa=D&usg=AFQjCNEL7TIOqTcvTUWd-DVwQJRNR4-A4A" target="_blank">https://gitlab.com/NightSkyDev/GCMTester.git</a>
*The screenshot below shows the entire application. The result will be displayed in a message at the bottom of the screen.
</div> <div jsname="WJz9Hc" style="display:none">发送测试GCM消息来验证谷歌云消息(GCM)是安装并正常工作。要求谷歌云消息API通过开发者控制台中启用。一个设备或模拟器上的作品作为一个GCM服务器。
要求:
API密钥 - 通过开发者控制台使谷歌云消息后收到
设备令牌(唯一的每个设备) - 电话后收到的为gettoken()
这个应用程序的唯一目的是为开发人员验证其GCM代码是否正常工作。
该项目的源代码可以在此链接:
<a href="https://www.google.com/url?q=https://gitlab.com/NightSkyDev/GCMTester.git&sa=D&usg=AFQjCNEzUII2F9T7yCBWerKISe7G19ZL3A" target="_blank">https://gitlab.com/NightSkyDev/GCMTester.git</a>
*下面的屏幕截图显示了整个应用程序。结果将在屏幕的底部显示一个消息。</div> <div class="show-more-end">