title: why creating a new Thread to do I/O in onCreate() still causes error?
body: <p>Part of my code as follows:</p>
  
  <pre><code>protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
  
      final NetDataHandler handler = new NetDataHandler();
      marketList = (ListView)findViewById(R.id.list);
      marketList.setAdapter(adapter);
  
      new Thread(new Runnable() {
          @Override
          public void run() {
              HTTPUtils.getJsonData(HTTPUtils.TARGET_URL, handler);
          }
      }).run();
  </code></pre>
  
  <p>These code will only be running when I turn off the Strict Mode.I have read the document about using the <strong>AsyncTask</strong> to avoid this.It says I shouldn't do I/O operation in <strong>main thread</strong>, but I think I have created a new thread.
  My problem is, isn't this <strong>new Thread()</strong> a different thread comparing to the <strong>main thread</strong>?</p>