[Solved] Fused Location always returns null
Add this code to your onConnected, thats where it would get Last Known Location. private static Location mLastLocation; private static GoogleApiClient mGoogleApiClient; private static Context context; // added private LocationRequest mLocationRequest; private Double latitude; private Double longitude; private String TAG = “”; // set your TAG @Override public void onConnected(Bundle bundle) { if (ActivityCompat.checkSelfPermission(context, Manifest.permission.ACCESS_FINE_LOCATION) … Read more