for (String provider : providers) {
        dumpProvider(provider);
     }

이게 뭐하란건가요......안에  String provider : providers 이게 뭔지모르겟어요 ㅜㅜ

또 질문할건요 
예제인데요

    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        mgr = (LocationManager) getSystemService(LOCATION_SERVICE);
        output = (TextView) findViewById(R.id.output);
        
        log("Location providers:");
        dumpProviders();
        
        Criteria criteria = new Criteria();
        best = mgr.getBestProvider(criteria, true);
        log("\nBest provider is: " + best);
        mgr.requestLocationUpdates(this.mgr.GPS_PROVIDER, 0, 0, this);
        log("\nLocations (starting with last known):");
////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        Location location = mgr.getLastKnownLocation(best);       => 요부분
////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        dumpLocation(location);
    }

저기 location에 맨날 null 값이 들어갑니다 ㅠㅠ 도와주세요!!