title: How to run a retry when download fails in AsyncTask using AlarmManager
body: <p>I use an <code>AlarmManager</code> to run a Service which tries to download a file from the web. If it fails I'd like to retry that Service in 5 minutes.</p>
  
  <p>Inside the Service I run an <code>AsyncTask</code> to run my code. As far as I know the only way I can tell if it failed or not is from the <code>onPostExecute()</code>.</p>
  
  <p>What is the best way of implementing a retry of that Service again?</p>