title: Android URL FileNotFoundException Error
body: <p>I am trying to get a file off the internet and im running into some errors. If I have http:// in front of the link it throws a UnkownHostException but if i remove the http:// it gives me a protocal not found error.</p>
  
  <p>my url connection line of code is </p>
  
  <pre><code>String urlS = "http://www.google.com/robots.txt";
  
  URL url = new URL(urlS);
  
  InputStream is = url.openStream();
  </code></pre>
  
  <p>any help thanks</p>