I'm trying to use the GeoCoder API but my application (in the emulator) hangs whenever the getFromLocationName() method is called
<p>My Android Virtual Device is Google API's. Platform is 2.3 and the API is 9.</p>

<p>I'm trying to calculate the lat/lon of an address. I'm also using an AlertDialog to see if the program advances to the next line (I realize there are better ways than this).</p>

<pre><code>List&lt;Address&gt; foundGeocode = null;
String address = "1234 Valid Street city, state 98765";
foundGeocode = new Geocoder(this).getFromLocationName(address,10);//app hangs

displayAlert("This text is never displayed");//Alert Dialog

double first = foundGeocode.get(0).getLatitude();
double second = foundGeocode.get(0).getLongitude();     
//Geocoder.isPresent() returns true
</code></pre>
