为什么用xshell连接云主机的时候显示
Connection established.
To escape to local shell, press 'Ctrl+Alt+]'.
Connection closed by foreign host.
Disconnected from remote host(新建会话 (2)) at 20:26:39.
我正在用Android做GCM ()方面的工作。我正在寻找使用GCM的上游消息。
代码将GCM消息发送到此处的云
try {
Bundle data = new Bundle();
// the account is used for keeping
// track of user notifications
data.putString("account", account);
// the action is used to distinguish
// different message types on the server