Android Question GPSMinTime, GPSMinDistance

solfinker

Member
Licensed User
I know we - always? - set GPS.Start(0, 0) in order to have the quickest sampling.
What if we change the parameters to (5000, 5) (ms?, meters?)

B4X:
Public Sub StartGps
    If gpsStarted = False Then
        GPS1.Start(500, 5)  'GPSMinTime, GPSMinDistance
        gpsStarted = True
    End If
End Sub
I want to read the location every 5 seconds. Should I resort to a timer?

Thank you.
 

solfinker

Member
Licensed User
Thank you.
I have set GPSMinTime, GPSMinDistance to 0,0 and use the Timer as you say - more or less.
 
Top