title: Http request in sencha touch 2
body: <p>I am very new to sencha touch 2.
  I want to make a http request. basically I want to connect to google (http://www.google.com) and then check the http response if it's ok or not. </p>
  
  <p>I have checked this code but I always get failure...</p>
  
  <pre><code>Ext.Ajax.request({
          url : 'http://www.google.com',
          success : function(response, options) {
              Ext.Msg.alert("Success");
          },
          failure : function(response, options) {
              Ext.Msg.alert("Failure" + response.responseText + " "
                      + options.responseText);
          }
      });
  </code></pre>
  
  <p>Later on, I want to use this functionality to implement log-in for the application.</p>
  
  <p>I appreciate your help in advance.</p>