Enhanced GPS sample

First, the GPS sample provided by MS is a very good starting point for C# programmers getting GPS to work. GREAT!

I used the sample and modded it to get more informations on the screen.

Unfortunately, the sample is somehow not thread safe and I needed to change the code at least for Windows Mobile 6.

As I run GPS sample on a WM6.1 device it crashes with NullReferenceException. I digged around and rewrote the UI update routines to use MessageHandler, and now it works fine.

If you are only using the simple GPS sample, it maywork without modifications like the replacement of Invoke by BeginInvoke.

Free source code:

[Download not found]

Leave a Reply