Reputation: 1
Can we send the message from Android Device to GCM server?
I am implementing the Total GCM functionality to get message from server and it works fine.
Now i want to save that message response right now i am using separate webservice to store response to server, Can i do that using GCM instead Webservice?
Upvotes: 0
Views: 76
Reputation: 2707
No you can't. You need to create XMPP server for that. You can see brief answer here You can check example of chat here
Upvotes: 1
Reputation: 16038
GCM is only a system to deliver messages to registered devices. It is not responsible for any other activity.
If you want to store data, that will need to be on your registered device or your web service.
Upvotes: 0