title: Calling asynctask from runnable
body: <p>Is it possible to execute an AsyncTask from Runnable? in my experience it can be done, but not safely. When my app first runs my AsyncTask runs fine from the Runnable. But when the app is moved to the background, then brought back forward I get "Can't create handler inside thread that has not called Looper.prepare()". </p>
  
  <p>Here's what I'm trying to do:
  I'm using MapView and invoking runOnFirstFix(Runnable) within onCreate. My Runnable calls an AsyncTask to perform a web service call which returns some data based on the location. 
  I move the app to the background (by tapping the home button), after some time I bring my app forward again and I'm getting the exception at the point where I'm invoking execute() on my AsyncTask.</p>
  
  <p>First of all, why is runOnFirstFix being executed again? Secondly, why is it causing the exception the second time around?
  I'm guessing that there is some part of the lifecycle that I don't understand.</p>
  
  <p>Thanks.</p>