Windows Phone 7仿真器位置数据格式

Cap*_* O. 4 geolocation windows-phone-7 windows-phone-7-emulator

我正在寻找Windowws Phone Emulator附加工具使用的位置数据格式.在"位置"选项卡上,有一个保存/打开记录器数据的选项.我问这个问题是因为我需要模拟地理位置变化,但位置标签对我来说不起作用.作为一种解决方法,我将创建位置数据的文件并在模拟器中打开它.

在此输入图像描述

Igo*_*lic 6

它是这种格式的简单XML文件:

<?xml version="1.0" encoding="utf-8"?> 
<WindowsPhoneEmulator xmlns="http://schemas.microsoft.com/WindowsPhoneEmulator/2009/08/SensorData"> 
    <SensorData> 
        <Header version="1" /> 
        <GpsData latitude="" longitude="" /> 
        <GpsData latitude="" longitude="" /> 
        <GpsData latitude="" longitude="" /> 
    </SensorData> 
</WindowsPhoneEmulator> 
Run Code Online (Sandbox Code Playgroud)

感谢AppHub论坛上的"Konaju Games"用户(http://forums.create.msdn.com/forums/p/91880/550593.aspx)