GPS location provider availabilty issue
<p>my gps location provider takes at least one minute to be available. I took best provider, and it is "gps". What will be the reason for that? Anybody has any idea? My code is given below..</p>

<pre><code>locationListener = new LocationListen();
    Criteria criteria = new Criteria();
    criteria.setAccuracy(Criteria.ACCURACY_FINE);
    locationManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE);
    String provider = locationManager.getBestProvider(criteria, true);
    if(provider == null){
        provider = LocationManager.GPS_PROVIDER;
    }
    if(!locationManager.isProviderEnabled(provider)){
        locationManager.setTestProviderEnabled(provider, true);
    }
    boolean enabled = locationManager.isProviderEnabled(provider);
    if(enabled){
        System.out.println("provider enabled");
        //          setAlert("provider enabled", "", false);
    }else{
        System.out.println("provider disabled");
        //          setAlert("provider disabled", "", false);
    }
    locationManager.removeUpdates(locationListener);

    locationManager.requestLocationUpdates(provider, (long)1000, (float)0, locationListener); 
</code></pre>

<p>onStatusChanged() method is called only after atleast a minute and changed status is the provider availability (available) after this onLoctionChanged() method is called. What will be the reason for delayed availability of gps location provider?</p>
