title: Call multiple AsyncTask at a time not working in Android
body: <p>I want to call multiple <code>AsynTask</code>. It was not working so I google for some help. I found that If I use <code>AsyncTask.THREAD_POOL_EXECUTOR</code> then it will work.</p>
  
  <p>But It is not working.</p>
  
  <p>I am calling it as below:</p>
  
  <pre><code>new GetCategory().execute();
  new GetArea().executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
  </code></pre>
  
  <p>Please help me regarding this issue. I want to call it at a time or it is also ok if <code>GetArea()</code> call after <code>GetCategory()</code>.
  I am not getting error. Application may be doing too much work.<br>
  <strong>Logcat:</strong></p>
  
  <pre><code>03-13 21:21:43.134: I/Choreographer(1222): Skipped 39 frames!  The application may be doing too much work on its main thread.
  03-13 21:21:43.394: I/Choreographer(1222): Skipped 43 frames!  The application may be doing too much work on its main thread.
  03-13 21:21:43.634: I/Choreographer(1222): Skipped 36 frames!  The application may be doing too much work on its main thread.
  03-13 21:21:43.784: I/Choreographer(1222): Skipped 38 frames!  The application may be doing too much work on its main thread.
  03-13 21:21:44.004: I/Choreographer(1222): Skipped 56 frames!  The application may be doing too much work on its main thread.
  03-13 21:21:44.164: I/Choreographer(1222): Skipped 36 frames!  The application may be doing too much work on its main thread.
  03-13 21:21:45.495: I/Choreographer(1222): Skipped 33 frames!  The application may be doing too much work on its main thread.
  03-13 21:21:45.765: I/Choreographer(1222): Skipped 43 frames!  The application may be doing too much work on its main thread.
  03-13 21:21:46.005: I/Choreographer(1222): Skipped 36 frames!  The application may be doing too much work on its main thread.
  03-13 21:21:46.235: I/Choreographer(1222): Skipped 44 frames!  The application may be doing too much work on its main thread.
  03-13 21:21:46.525: I/Choreographer(1222): Skipped 48 frames!  The application may be doing too much work on its main thread.
  03-13 21:21:46.855: I/Choreographer(1222): Skipped 39 frames!  The application may be doing too much work on its main thread.
  03-13 21:21:47.005: I/Choreographer(1222): Skipped 39 frames!  The application may be doing too much work on its main thread.
  03-13 21:21:47.156: I/Choreographer(1222): Skipped 37 frames!  The application may be doing too much work on its main thread.
  03-13 21:21:47.306: I/Choreographer(1222): Skipped 38 frames!  The application may be doing too much work on its main thread.
  </code></pre>
  
  <p>I am binding Spinner on both <code>AsynTask</code>.<br>
  <strong>My Code :</strong></p>
  
  <pre><code>        Area[] areaList = gson.fromJson(result, Area[].class);
  
          List&lt;Area&gt; lList = Arrays.asList(areaList);
          Area objArea;
  
          areaId.add("0");
          areaName.add("Select Area");
  
          for (int i = 0; i &lt; lList.size(); i++) {
              objArea = lList.get(i);
              areaName.add(objArea.getAreaName());
              areaId.add(objArea.getAreaId());
          }
  
          ArrayAdapter&lt;String&gt; adapter = new ArrayAdapter&lt;String&gt;(
                          getActivity(), android.R.layout.simple_dropdown_item_1line, areaName);
                  ((Spinner) spnCEArea).setAdapter(adapter);
  </code></pre>