How would I go about obtaining the GPS cordinates in a windows mobile application? The sample app that comes with the SDK doesnt seem to work. I also have the wm 6.5 SDK which I heard had GPS stuff but I cant find it. Let me know if you have any good examples.
+1
A:
As of WCE 5.0 microsoft includes a gps intermediate driver which sits in front of the devices gps device and provides an api for retrieving position information.
Main api docs are here
The api you need to use to get a position is documented here
Managed code docs and examples here
IIRC you may need to set up the driver on some devices, i think its a case of telling it which com port the gps device is on. Also I seem to remember that you can set it up on the emulator and give it a track log file and it will return positions based on the contents of the file, for testing purposes.
Matt
2009-09-29 23:02:54