windows-phone-7geolocationmobile-emulator

How to get the current Latitude and Longitude values of the emulator device in WP7?


Is there an option to find the location of the Emulator? I just need to plot the location of the device in the map.


Solution

  • The emulator have had a build-in GPS simulator since May. Hopefully you updated your SDK since then (otherwise you should!). (Yes, you can use the new emulator with the 7.0 SDK and 7.0 apps!)

    To access it, hover the mouse over the emulator, and click the >> button to the right.

    enter image description here

    Then press the Location tab, and voila, you can set the position with the build-in simulator.

    enter image description here