Can I get latitude and longtitude on windows 7 desktop application?
Usually it will work on mobile or tablet using GPS, 3G or WiFi.
But how I get the coordinate using c#?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
A standard GPS device (internal or external) sends data on a serial port. Receiving any data from Serial Port is very easy. Please check this link.
GPS data is composed on NMEA protocol. The data itself is just ascii text and may extend over multiple sentences e.g.
Sample data from wikipedia below.
The appropriate string you can use for location data (Latitude/Longitude) is RMC.
It’s information is described here
For complete GPS data parsing you can check this link. Hopefully it will help.