0

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?

SID --- Choke_de_Code
  • 1,131
  • 1
  • 16
  • 41

2 Answers2

1

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

Community
  • 1
  • 1
Chintan Desai
  • 2,607
  • 2
  • 22
  • 25
0

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.

Knossos
  • 15,802
  • 10
  • 54
  • 91
  • Yes you are right GCM is deliver messages to registered devices , I am asking can i resend the message from my gcm register device to GCM server – Pratik Wankhade Jul 16 '15 at 09:25