Windows Phone 7仿真器位置数据格式 [英] Windows Phone 7 Emulator Location Data Format
问题描述
我正在寻找Windowws Phone Emulator附加工具使用的位置数据格式。在位置选项卡上,可以选择保存/打开记录器数据。我问这个问题,因为我需要模拟地理位置更改,但位置选项卡不适用于我。作为一种解决方法,我将创建一个位置数据文件,并在模拟器中打开它。
这是一个简单的XML文件,格式如下:
<?xml version =1.0encoding =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>
在AppHub论坛上回复Konaju Games用户的感谢(http://forums.create.msdn .com / forums / p / 91880 / 550593.aspx)
I am looking for a format of the location data used by the Windowws Phone Emulator Additional Tools. On the tab "Location" there is an option to save/open recorder data. I ask this question because I need simulate geo position change but Location Tab doesn't work for me. As a workaround I am going to create a file of the location data and open it in the emulator.
It's a simple XML file in this format:
<?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>
Answered thanks to "Konaju Games" user at AppHub forum (http://forums.create.msdn.com/forums/p/91880/550593.aspx)
这篇关于Windows Phone 7仿真器位置数据格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!