How to get the current location in Windows Phone 7 on the emulator

I am new to Windows Phone 7. I want to develop an application that reports the current position (lat long) of a device and highlights the current position on a bing card that works on an emulator because I do not have a device for testing. Any help.

Thanks in advance.

+3
source share
3 answers

CodePlex has the FakeGPS utility (.cs file only).

+2
source

:

if (location == GeoCoordinate.Unknown)
{
  // Use Palo Alto if we're running in the emulator.
  location_string = "&latitude=37.47&longitude=-122.12";
}
0

Source: https://habr.com/ru/post/1792513/


All Articles