GPS is on, yet LocationManager returns null
<p>The GPS on my Android phone is on, supported by the fact that :</p>

<pre><code>location_manager.isProviderEnabled(LocationManager.GPS_PROVIDER)
</code></pre>

<p>returns true.</p>

<p>Yet, the following line :</p>

<pre><code> Location location = location_manager.getLastKnownLocation(LocationManager.GPS_PROVIDER) ;
</code></pre>

<p>returns null.</p>

<p>What could be the reason ?</p>

<p>Thanks.</p>
