I want current location (latitude and longitude) without internet.Please give me ideas if this is possible?
I know, I have imported google services in the below code
your text
import com.google.android.gms.location.FusedLocationProviderClient;
your text
import com.google.android.gms.location.LocationServices;
your text
import com.google.android.gms.tasks.OnSuccessListener;
so it won't work without internet. But i want only current location by enabling location service on my phone.