title: HttpClient queries on main thread keeps crashing when in Runnable
body: <p>I've expierenced this code runs smoothly on <em>Android 2.2</em>. But on <em>Android 4.0</em> it crashes.</p>
  
  <p>I am assuming that, It's caused by <strong>HttpClient</strong>. So I moved the code into a <strong>Runnable</strong>, but it keeps crashing.</p>
  
  <pre><code>new Runnable() {
  
          @Override
          public void run() {
              try {        
                  HttpClient client = new DefaultHttpClient();
                  HttpGet request = new HttpGet();
                  request.setURI(new URI(serverroot + URI_ARGS));
                  client.execute(request);
              } catch (URISyntaxException e) {
                  e.printStackTrace();
              } catch (ClientProtocolException e) {
                  e.printStackTrace();
              } catch (IOException e) {
                  e.printStackTrace();
              }
          }
      }.run();
  </code></pre>
  
  <p>Is there another way to do this without using <strong>AsyncTask</strong>?</p>