Android LocationManager.getLastKnownLocation()
<p>From android documentation LocationManager.getLastKnownLocation():</p>

<blockquote>
  <p>Returns a Location indicating the data from the last known location
  fix obtained from the given provider.</p>

<pre><code>Note that this location could be out-of-date, for example if the device was turned off and moved to another location.
</code></pre>
</blockquote>

<p>How often provider updates device location ? How its works ?</p>

<p>The reason why I asking is that I dont want to use locationListener,
I just need to get current geo location on button click, and thats it.
Can I just do like this ?</p>

<pre><code>    final LocationManager mlocManager = (LocationManager) getActivity()
            .getSystemService(Context.LOCATION_SERVICE);
    final Location currentGeoLocation = mlocManager
            .getLastKnownLocation(LocationManager.NETWORK_PROVIDER);
</code></pre>
