Hi There
I have a question about GPS
How can I interrogate any device so that I can quickly determine if there is a GPS unit so that if not, I won't even attempt to connect and get a position in my code.
I have looked into using the ServiceStatus and I can use this with a timeout that will fail if a connection just time-outs (Which it will if no GPS is present!) but its not very elegant.
What i am looking for is something that does the following:
1. Has device got GPS device
- if YES do the usual connecting and use the eventhandlers when position info starts coming etc etc
- If NO then just return a failed due to there not being a GPS device so that the software can carry on and not bother about getting GPS positions.
Is there a way to do this?
Regards
DaveK17