locationManager.getAllProviders() yields DummyLocationProvider for all providers
<p>I want to get the current location from my location providers.</p>

<p>I do:</p>

<pre><code>List&lt;String&gt; providers = locationManager.getAllProviders();
for (String p : providers) {
   LocationProvider info = locationManager.getProvider(p);
   Ln.d("printProvider "+info.toString()+" provider "+p);
}
</code></pre>

<p>Looking at the log I see that all LocationProvider instances are of class DummyLocationProvider.</p>

<p>I started this path after I saw that:</p>

<pre><code>String provider=LocationManager.NETWORK_PROVIDER;   
Location location= locationManager.getLastKnownLocation(provider);
</code></pre>

<p>This allways returns null for location.</p>

<p>Can anyone tell me what I'm doing wrong here?</p>

<p>(I'm using a phone here , not the emulator) </p>
