title: GCM and Smack API
body: <p>I tried to connect to Cloud Connection Server of GCM using Smack API. My code:</p>
  
  <pre><code>ConnectionConfiguration config = new ConnectionConfiguration("gcm.googleapis.com","5235");
          config.setCompressionEnabled(true);
          config.setSASLAuthenticationEnabled(true);
          config.setSocketFactory(SocketFactory.getDefault());
          Connection conn = new XMPPConnection(config);
          conn.connect();
          conn.login(Config.GCM_SENDER_ID, Config.GCM_API_KEY);
  </code></pre>
  
  <p>However I got connection fail error and XMPPException error. Any ideas?</p>