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">Envia uma mensagem de teste para verificar a GCM Google Cloud Messaging (GCM) está configurado e funcionando corretamente. Requer API Google Cloud Messaging para ser ativado por meio do Console do desenvolvedor. Funciona em um dispositivo ou emulador para atuar como um servidor GCM.
RODA:
API Key - recebeu depois de ativar o Google Cloud Messaging através do Console do desenvolvedor
Dispositivo de Token (dispositivo por único) - recebidas após chamada para getToken ()
O único objetivo deste aplicativo é para os desenvolvedores para verificar seu código GCM está funcionando corretamente.
O código fonte do projeto está disponível neste link:
<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>
* A imagem abaixo mostra o aplicativo inteiro. O resultado é apresentado em uma mensagem na parte inferior do ecrã.</div> <div class="show-more-end">