title: Android JSoup Connection Issues
body: <p>Using the guide on JSoup's website I wrote the following code:</p>
  
  <pre><code>@Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
  
      try {
          Document doc = Jsoup.connect("http://google.com").get();
          Elements links = doc.getElementsByTag("a");
          for(Element ele : links){
              Log.i("Menu", ele.text());
          }
      } catch (IOException e) {
  
      }
      setContentView(R.layout.main);
  }
  </code></pre>
  
  <p>I added the internet permission in my manifest file but it keeps throwing an IOException!</p>