ABWifi - clear location cache

andrewtheart

Member
Licensed User
Longtime User
Hello -

It seems that the ABWifi library (which I use to locate a user via their wifi connection) is tapping into the location cache on the device instead of getting a fresh location every time I call ABGetLocation()

The location cache on Android is used to conserve battery / processing power

But, I need to get a fresh new location every time I call this method.

Theoretically this clears the location cache: but how can I do the same programatically?

B4X:
Settings > Applications > Manage Applications > All (tab) > scroll to Network Location and click on it to open and click on 'Clear data'.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…