Hello,
I am loading GMAP, and It is loading at (0,0) position. then it is coming as per the GPS current location.
But I want to initialize/load the MAP[When the Application start] with the current location of the user.
Below is the code I have used at Tracker Module...
Please advice
Thanks
I am loading GMAP, and It is loading at (0,0) position. then it is coming as per the GPS current location.
But I want to initialize/load the MAP[When the Application start] with the current location of the user.
Below is the code I have used at Tracker Module...
B4X:
Public Sub Track
If Tracking Then Return
If Starter.rp.Check(Starter.rp.PERMISSION_ACCESS_FINE_LOCATION) = False Then
Log("No permission")
Return
End If
GPS.Start(xx.5726, yy.3639) 'Hardcoded user current location==> Not working
Tracking = True
End Sub
Please advice
Thanks