Android Question ABFoundLocation How to?

uniplan

Active Member
Licensed User
Longtime User
Into the ABWifi library documentation I found:

This library allows you to get Wifi information.
Extra added is a location function
It uses the Wifi Signal and GSM Triangulation to get the latitude and longitude of the device
without an active GPS.

I try the example:

Sub Process_Globals
Dim myWifi As ABWifi
End Sub

Sub Globals
Dim Button1 As Button
End Sub

Sub Button1_Click
Dim r As Boolean
r = myWifi.ABGetLocation("myWifi")
If r = False Then
Msgbox (myWifi.ABWifiLastError(), "")
End If
End Sub

Sub myWifi_FoundLocation ()
Dim ResLocation As ABFoundLocation
resLocation = myWifi.ABGetFoundLocation()
Msgbox ("" & ResLocation.Latitude & " - " & ResLocation.Longitude, "")
End Sub


But I don't find the myWifi.ABGetFoundLocation() method?

There is something wrong in the documentation?

How can I do to:

Uses the Wifi Signal and GSM Triangulation to get the latitude and longitude of the device
without an active GPS ?


 
Top