Verifying GPS signal
Folks,
This is a great library, I tried to use it and it works with no issues, I just have one question:
Assuming that I have established a GPS connection and for some reason I lost that connection later (e.g. driving through a tunnel …etc.) how can I display a message to the user letting him know that the GPS signal got lost.
I have tried to use this code but it did not work, actually nothing happen, it seems even if the GPS signal get lost, then the Latitude, Longitude and other GPS information will still considered to be valid
If gps.Latitude <> gps.InvalidData Then
Else
Show the message here
End If
In the example provided (GPSDriverDemo ) I have noticed this code:
----------------------------------------------------------------------------
If If gps.Opened = True Then
Label1.Text = "gps is open."
Timer1.Interval = 1000
Timer1.Enabled = True
Else
Label1.Text = "gps failed to open."
End If= True Then
----------------------------------------------------
Dose that mean when the device loses the GPS signal then gps.Opened will return false?
Thank you all