In short : When i try to start the Gps ,with a timeout, inside my WP7 app running inside a WP8 phone then my UIThread hangs for an amount equal to the timeout (i.e 10 second timeout results in my UI hanging for 10 seconds before the Gps starts)
The WP8 SDK has a bug
in class : System.Device.Location.GeoCoordinateWatcher
in method : publicbool TryStart(bool
suppressPermissionPrompt, TimeSpan timeout);
It takes the method an X amount of time to complete and X is always the same as the provided timeout. In order words the method always hangs the caller for the specified timeout amount.
Note: the use of 100 seconds is purely for the purpose of highlighting the issue.