title: Get current location latitude and longitude for API 23 and above in Android
body: <p>How to get current location latitude and longitude for API 23 and above in Android ?
  Below functions gives <code>null</code></p>
  
  <pre><code>LocationServices.FusedLocationApi.getLastLocation(mGoogleApiClient);
  </code></pre>
  
  <p>and </p>
  
  <pre><code>mLocationManager.getLastKnownLocation(provider)
  </code></pre>