title: How to run two asynchronous tasks one after another ?
body: <p>I have tow asynctasks that I want that they run separately when I click on a button. I mean when the button is clicked the second one wont start until the first is already finished.
  By the way, i've tried to use : </p>
  
  <pre><code>if(task1.getStatus()==AsyncTask.Status.FINISHED){
  task2.excecute();
  }
  </code></pre>
  
  <p>But it doesn't work ... </p>
  
  <p>Any help please?  </p>