title: Quick fix for NetworkOnMainThreadException
body: <p>I need to execute third-party open source program, which throws NetworkOnMainThreadException. According to SDK reference, this is only thrown for applications targeting the Honeycomb SDK or higher. Applications targeting earlier SDK versions are allowed to do networking on their main event loop threads.</p>
  
  <p>On the first stage I just want to run the program, without changing the source. So, I changed the line in AndroidManifesr.xml from:</p>
  
  <pre>
      android:targetSdkVersion="15"
  </pre>
  
  <p>to:</p>
  
  <pre>
      android:targetSdkVersion="10"
  </pre>
  
  <p>However, this doesn't help, and program still throws NetworkOnMainThreadException. How can I make this to work? I am trying to execute the program on Android Emulation Google APIs (level 16).</p>