Just a very quick note: If you’re running the Windows Phone 7 GPS Emulator (http://windowsteamblog.com/windows_phone/b/wpdev/archive/2011/01/28/windows-phone-gps-emulator.aspx) on a system which uses comma as a decimal separator (for example on a German system, or on an English OS, but with its culture set to de-de), you will only receive ‘no data’ values in your emulated client. The reason is simply that internally, the system transmits data as a single string in the format of “<latitude>, <longitude>” which fails if either of those two values contains a comma.
To change/fix this behavior, you can simply switch the culture for the complete application: open App.xaml.cs (in GpsEmulator) and add this as the first line in App():
Thread.CurrentThread.CurrentCulture = new CultureInfo("en-us");
Comments