How to clear GPS cache from my device programatically?
<p>I have the following task: when AlarmManager generates the event the application must define location and send the coordinates to my letter; after it LocationManager deletes this location listener(I do it in callback method of listener - manager.removeUpdates(this)). All works except location defining. I have following code for it:</p>

<pre><code>@Override
public void onReceive(Context context, Intent intent) {
    // TODO Auto-generated method stub
    Log.e("event", "onReceive");
    LocationManager lm = (LocationManager)context.getSystemService(context.LOCATION_SERVICE);
    String provider=lm.isProviderEnabled(LocationManager.GPS_PROVIDER) ? LocationManager.GPS_PROVIDER :
        LocationManager.NETWORK_PROVIDER;

    CustomLocationListener listener=new CustomLocationListener(new AutoQueryWorker(context), lm, provider);
    lm.requestLocationUpdates(provider, 0, 0, listener);
}
</code></pre>

<p>I have the following question: for example, the alarm wakes up and the application defines coordinates using GPS. User waits at same position, and alarm wakes up again. Will requestLocationUpdates be executed again, or, because user waits at the same point, onLocationChanged method won't be executed? Please, tell me. </p>
