I am using iLocation library, but when I am inside a building I can't get position, with this library or with some other I can get the last known location like FusedLocationProvider on Android through Google Services.
I need this because when I am in a building I need to calculate the distance to another place and last known location calculated by OS will be very usefull.
iLocation works in a similar way to FusedLocationProvider. It is not limited to GPS.
You can get the last known location with:
B4X:
Dim no As NativeObject = LocationManager
Dim location As Location = no.GetField("manager").RunMethod("location", Null)
If location.IsInitialized Then
...