Hi guys,
I tried example from this thread
This is Library which is based on the code from this Github project. GeoLocation ...|https://www.b4x.com Author: DonManfred Version: 1.1 GeoLocator Events: Location (success As Boolean, Lattitude As Double, Longitude As Double) Functions: geoAddress GetLocation Initialize (EventName As...
Downloaded GeoLocEx & GeoLocationV1.11 and changed codes on GeoLocation_Location into these
Sub GeoLocation_Location(success As Boolean, Lattitude As Double, Longitude As Double, info As String)
If success Then
GeoLoc.geoAddress
Log(GeoLoc.Address)
Log(GeoLoc.City)
Log(GeoLoc.Country)
Log(GeoLoc.KnownName)
Log(GeoLoc.PostalCode)
Log(GeoLoc.State)
End If
Log($"GeoLocation_Location(${success}, ${Lattitude}, ${Longitude}, ${info})"$)
End Sub
Got these errors
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
java.lang.Exception: Sub geolocation_location signature does not match expected signature.
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:198)
at anywheresoftware.b4a.BA$2.run(BA.java:370)
at android.os.Handler.handleCallback(Handler.java:907)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:216)
at android.app.ActivityThread.main(ActivityThread.java:7625)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:987)