Android Question B4A GPS Location


Licensed User
I need to send twice a day the GPS location from the Android device with some other date to a central server.
I tried with the examples which exist in the fórum to get the location, it Works fine.
But only if i'm outside, if i'm longer inside and open the App will not get the location, but if i check with Android it have my location, Google maps for e.g.
Question, is there a way to get the location direct from the Android System without using a different App ??


Licensed User
Longtime User
Have a look at the FusedLocationProvider

Basically, where GPS fixes need you to be outdoor or near a window (where satellites could be spotted) a different provider (3G, wi-fi DB) need not.
So, making use of FLP will give you results even when indoor.
Upvote 0