Guidance for location simulators

Microsoft Visual Studio 2012 provides a location simulator that works together with a location simulator driver that you create. This section contains guidance for implementing a location simulator driver.

Configure the simulator

To enable a simulator driver, edit the registry key HKLM\Software\Microsoft\Location by setting the String value named “SimulatorID” to the Sensor ID of your simulator driver.

Clear data on simulator exit

When the simulator application exits, the simulator driver should change state to NO_DATA and send a state changed event.

How simulator data is used

  • Data from the simulator driver is only used in the emulator session for the location simulator. Simulator data is never used in normal applications.
  • If the simulator driver does not have data when it is running in a simulator, then data from other sources will be used in the location simulator.

Related topics

Running Windows Store apps in the simulator
Set the simulated geolocation of the device

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft