I need a sample application for Google Cloud messaging. with a sample server to test my app. can any one help me on this?
I need a sample server to test my code i al
"curl" command line tool can be used to send messages to devices registered with GCM.
curl -X POST \
-H "Authorization: key= " \
-H "Content-Type: application/json" \
-d '{
"registration_ids": [
""
],
"data": {
"message": ""
}
}' \
https://android.googleapis.com/gcm/send
Please refer to this blog post for further details. http://www.zinniakhan.com/2014/07/check-google-cloud-messaging-gcm-client.html.