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">Gửi một thông điệp thử nghiệm GCM để xác minh của Google Cloud Messaging (GCM) được thiết lập và hoạt động đúng. Yêu cầu của Google Cloud Messaging API để được kích hoạt thông qua các Developer Console. Các công trình trên một thiết bị hoặc giả lập để hoạt động như một máy chủ GCM.
YÊU CẦU:
API Key - nhận được sau khi cho phép Google Mây Tin nhắn thông qua phát triển console
Thiết bị tạo mã (trên thiết bị duy nhất) - sau khi nhận được cuộc gọi đến getToken ()
Mục đích duy nhất của ứng dụng này là dành cho các nhà phát triển để xác minh mã GCM của họ đang làm việc một cách chính xác.
Các mã nguồn dự án có sẵn tại liên kết này:
<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>
* Các ảnh chụp màn hình dưới đây cho thấy toàn bộ ứng dụng. Kết quả sẽ được hiển thị trong một tin nhắn ở dưới cùng của màn hình.</div> <div class="show-more-end">