title: IOException with URLConnection and getInputStream
body: <p>I'm trying to get data from a website with an android application.</p>
  
  <p>Here is my code :</p>
  
  <pre><code>URL url = new URL("http://www.google.com/ig/api?weather=Schriesheim,Germany");
  URLConnection uCon = url.openConnection();
  iStream = uCon.getInputStream();
  </code></pre>
  
  <p>The method getInputStream() returns me an IOException, I already tried lots of things find on Internet, but nothing is working.
  By the way, I tried this code in a Java application and it worked so I assume this the problem is in my Android settings.</p>
  
  <p>I already add these lines in my Manifest.xml :</p>
  
  <pre><code>&lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /&gt;
  &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
  </code></pre>
  
  <p>I'm using Eclipse and running Archlinux x64.
  Any idea ?</p>
  
  <p>Thank you.</p>