Reputation: 91
I tried the code for GCM given here
Using this I am able to get the registration id for my application (I checked on the device and found it got printed onto the TextView
that I set).
But now how can I check for the receiving of messages (push notifications) from the server. Actually how to connect my code to the server?
Upvotes: 3
Views: 2859
Reputation: 12688
This is kinda vague. So you haven't set anything up on your server? First you need to set up the server. You just make a regular http call using the specifications found GCM Server
This is the server section but you might want to read the whole document to get the full picture
Upvotes: 2