I have this in Starter
In Main2 (Activity) I have that
the Sub LocationChanged is not rising even if GPS is start like this
I want to move gps camera to follow my position
B4X:
Sub GPS_LocationChanged (Location1 As Location)
CallSub2(Main2, "LocationChanged", Location1)
End Sub
In Main2 (Activity) I have that
B4X:
Public Sub LocationChanged(Location1 As Location)
LogColor("LocationChanged ",Colors.Blue)
End Sub
the Sub LocationChanged is not rising even if GPS is start like this
B4X:
Public Sub StartGps
If gpsStarted = False Then
GPS1.Start( 0,0)
gpsStarted = True
End If
End Sub
I want to move gps camera to follow my position