Can gcm be used to send and receive messages between android devices?
问题 I have two android devices that runs a gcm client app. I get the Reg IDs of both the devices. I also have a server API key. Now the thing is, Using a simple php code using cUrl or Zend framework, I'm able to send message from a web server to one of my droids (Of course I can broadcast too). But, with this in hand, is there any way to send a string from one device to another? 回答1: Quoting myself from my book: You might be tempted to use GCM for peer-to-peer messaging, without a server of your