What does the following code do if there is no GPS fix..?
<p>If there is no GPS FIX (because the person is in a metal building or something)....does it just stay in the Looper..?? OR does it keep trying for a fix via requestLocationUpdates..??    </p>

<p>If I do have a good GPS FIX....my code works fine...and in onLocationChanged()...I update the current location to the database.</p>

<p>Also...when is onLocationChanged() called..?? Is it only called when there is a GPS FIX..??
Just wondering..</p>

<pre><code>    public void run()
    {
        Looper.prepare();

        LocationManager lm = (LocationManager)            getSystemService(Context.LOCATION_SERVICE);
        LocationListener ll = new mylocationlistener();
        lm.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, ll);

        Looper.loop();
    }
</code></pre>
