Sub Button6_Click
If gps1.GPSEnabled=False Then
'Msgbox(1,23)
ToastMessageShow("Please enable your device's GPS capabilities", True)
'StartActivity(gpsClient.LocationSettingsIntent)
Else
'Msgbox(1,22)
Main.rp.CheckAndRequest(Main.rp.PERMISSION_ACCESS_FINE_LOCATION)
'Msgbox(1,25)
gps1.Start(0, 0)
'Msgbox(1,2)
ProgressDialogShow("Waiting for GPS location")
gpsStarted = True
Msgbox(1,4)
End If
End Sub
1. Please post the code AND the error message from the logs as TEXT within CODE TAGS. 2. Don't post images 3. Describe what the problem is (full sentences, not 3 words, not "my car doesn't work - guess what it is") 4. Use the search function FIRST (assume you're not the first person having that...