Hello All, i'm not sure if this will be of any help to anyone, but i decided to share it with everyone here anyway. I'm writing an application for a client and needed an easy way to test out a portion of the app which requires the Google Cloud Messaging system, so after searching for a while for an easy way for me to do it, i decided to write this application in Visual Basic 2008, Erel's tool in his Tutorial is a great tool but i just don't like the fact that i had to open a command window every time and type in the command to send a message.
Anyhow with this tool you only need to type the API Key provided by google once, along with the Sender ID which is the number provided when you log in into your Google API, and the Registration ID, you get this when you run your application.
This is the application written in Visual Studio 2008
the SenderID is this number you receive from google
Your Api Key you get it from here
Your Registration ID is the number generated when you run your application
check Erel's tutorial for this
http://www.b4x.com/forum/basic4android-getting-started-tutorials/19226-android-push-notification-gcm-framework-tutorial.html#post110713
Again once you enter all this information for the first time on the required fields, this information gets saved into a config.txt file the next time you launch the VB GCM server it will load the saved api, senderId and registration id information.
Hope you guys find this useful!
View attachment GCM_Server executable.zip
And Here's the source code, please feel free to play with it, if anyone expands the functionality of it please don't forget to post your changes on this thread, so that others can benefit from this as well!
View attachment GCM_Server_Source_code.zip
Cheers!
Anyhow with this tool you only need to type the API Key provided by google once, along with the Sender ID which is the number provided when you log in into your Google API, and the Registration ID, you get this when you run your application.
This is the application written in Visual Studio 2008
the SenderID is this number you receive from google
Your Api Key you get it from here
Your Registration ID is the number generated when you run your application
check Erel's tutorial for this
http://www.b4x.com/forum/basic4android-getting-started-tutorials/19226-android-push-notification-gcm-framework-tutorial.html#post110713
Again once you enter all this information for the first time on the required fields, this information gets saved into a config.txt file the next time you launch the VB GCM server it will load the saved api, senderId and registration id information.
Hope you guys find this useful!
View attachment GCM_Server executable.zip
And Here's the source code, please feel free to play with it, if anyone expands the functionality of it please don't forget to post your changes on this thread, so that others can benefit from this as well!
View attachment GCM_Server_Source_code.zip
Cheers!
Last edited: