Here's what I'm trying to do first. I'm trying to launch a MapView, which grabs the user's location and loads an overlay with data that changes based upon the user's location.
Code overview: I have a MapView that grabs the current user's location on creation. The locationOverlay I'm using calls out a Runnable on first fix:
locationOverlay.runOnFirstFix(centerAroundFix);
This Runnable, centerAroundFix, starts an aSyncTask. As soon as I call the 'new aSyncTask', this error is thrown:
Caused by: java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
The asynctask's job is to fetch data, create the overlay, and add the overlay. Creating and executing the asynctask works fine outside of the Runnable.