Android Question gps

Isac

Active Member
Licensed User
Longtime User
hello,
I would like to enable the gps automatically just by pressing a button.

B4X:
Sub gps2_Click
GPS1.Initialize("GPS")
If GPS1.GPSEnabled= False Then
GPS1.Start(0, 0)
End If
End Sub
 
Top