Sharath G
Sharath G

Reputation: 91

GCM server side code in android

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

Answers (1)

Tolga E
Tolga E

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

Related Questions