标签: windows-phone-7-emulator

如何使用Windows Phone 7模拟器加载任何XAP文件

有没有人知道是否可以在没有解决方案或源文件的情况下将Windows Phone 7 XAP文件加载到模拟器中?换句话说,我可以向某人发送一个XAP文件,以便他们可以测试我的应用程序,而无需向他们提供完整的源代码吗?

windows-phone-7 windows-8 windows-phone-7-emulator windows-phone-8 windows-phone-8-emulator

19
推荐指数
3
解决办法
3万
查看次数

如何同时运行Windows Phone 7模拟器的多个实例?

我正在为Windows Phone 7创建一个多人游戏.如何运行模拟器的多个实例以进行调试?

windows-phone-7 windows-phone-7-emulator

6
推荐指数
2
解决办法
2464
查看次数

在Windows Phone模拟器上使用Fiddler调试HTTPS流量

我遵循了Eric的建议并且工作正常,但通过HttpWebRequest使用https的请求无法连接.在提琴手,我看这似乎回到罚款,然后我的HttpWebRequest收到带有ArgumentNullException结果的连接请求.

这是异常的调用堆栈:

   at System.IO.StringReader..ctor(String s)
   at System.Net.Browser.HttpWebRequestHelper.ParseHeaders(Uri requestUri, SecurityCriticalDataForMultipleGetAndSet`1 headers, WebHeaderCollection collection, Boolean removeHttpOnlyCookies, HttpStatusCode& status, String& statusDescription)
   at System.Net.Browser.ClientHttpWebResponse..ctor(String method, Uri url, HttpStatusCode status, String mime, SecurityCriticalDataForMultipleGetAndSet`1 headersString, Stream stream, Int32 expectedLen, CookieContainer cookieContainer)
   at System.Net.Browser.ClientHttpWebResponse..ctor(String method, Uri url, HttpStatusCode status, String mime, SecurityCriticalDataForMultipleGetAndSet`1 headersString, Stream stream, CookieContainer cookieContainer)
   at System.Net.Browser.ClientHttpWebRequest.Failed(Object sender, EventArgs e)
   at MS.Internal.InternalWebRequest.OnDownloadFailed(Object sender, ErrorEventArgs args)
   at System.Windows.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
   at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName) …
Run Code Online (Sandbox Code Playgroud)

fiddler windows-phone-7-emulator

5
推荐指数
1
解决办法
2432
查看次数

由于命令行参数无效,连接失败.:WP7模拟器

我知道这是一个众所周知的问题.Visual Studio 2010 Express for Windows Phone的模拟器突然停止工作.

提示:在我开始将应用程序部署到My Nokia Lumia之前,它工作正常.之后它没能开始.这可能是错误的原因吗?

抛出错误:

Connection failed because of invalid command-line arguments.

任何解决方法?!

TIA.

编辑:对不起,我只使用VS 2010.

windows-phone-7 windows-phone-7-emulator

5
推荐指数
1
解决办法
3800
查看次数

同时运行多个Windows Phone 7 Emulator实例

我试图根据这个这个帖子同时启动多个Windows Phone 7模拟器实例.

但是,只要实例已在运行,新实例就会快速启动并消失,而不会显示任何错误消息.任何帮助将不胜感激.

windows-phone-7 windows-phone-7-emulator

5
推荐指数
1
解决办法
470
查看次数

Visual Studio Windows Emulator无法运行.给出"界面未知"错误

任何Windows Phone应用程序开发人员都可以提

当我运行我的项目时,模拟器启动和关闭,错误The interface is unknown显示在Visual Studio的错误日志中.

前几天运行正常.

我该怎么做才能摆脱这个错误?

visual-studio-2010 windows-phone-7 windows-phone-7-emulator

5
推荐指数
1
解决办法
1231
查看次数

IsolatedStorageSettings.ApplicationSettings不会存储以重新启动

我正在写一个WP7(芒果)应用程序.我将值存储在WP7 IsolatedStorageSettings.ApplicationSettings中,然后我调用 IsolatedStorageSettings.ApplicationSettings.Save();

如果我按回去,离开屏幕,然后我回来,我可以很好地读取数值.但是,如果我在调试器中按重启(或者只是从模拟器重启),ApplicationSettings会抛出一个KeyNotFoundException,好像它没有持久 ...
我还没有在设备上试过它,我没有一个可用权利现在.

我可能做错了什么?

isolatedstorage application-settings windows-phone-7 windows-phone-7-emulator

4
推荐指数
1
解决办法
2046
查看次数

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

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

在此输入图像描述

geolocation windows-phone-7 windows-phone-7-emulator

4
推荐指数
1
解决办法
634
查看次数

测试移动页面Windows Phone 7浏览器

我正在为Windows Phone 7开发移动网页.

请建议我任何模拟器/模拟器来测试占用较少内存的页面,我尝试使用Windows Phone SDK安装Windows官方模拟器,因为它需要更多的系统空间,我放弃了该计划.

有没有其他替代方法来测试Windows Phone-7浏览器中的网页?

提前致谢.

mobile mobile-website windows-phone-7 windows-phone-7-emulator

2
推荐指数
1
解决办法
4937
查看次数

无法参考microsoft.xna.framework.media.phoneextensions.dll

我试图按照这个答案将一些音频文件添加到Windows手机模拟器的媒体库.但是我得到了错误

命名空间"Microsoft.Xna.Framework.Media"中不存在类型或命名空间名称"PhoneExtensions"(您是否缺少程序集引用?)

我无法引用microsoft.xna.framework.media.phoneextensions.dll,因为它不在该位置

C:\ Program Files\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\Profile\WindowsPhone71

我安装了Microsoft XNA Game Studio 4.0,但仍无法在系统文件夹中找到dll.
我尝试但无法在互联网上的任何地方获取DLL.
这是我的代码(如果重要的话)

Uri file = new Uri("files/a_wink.mp3", UriKind.Relative);
var myIsolatedStorage = IsolatedStorageFile.GetUserStoreForApplication();
var fileStream = myIsolatedStorage.CreateFile("a_wink.mp3");
var resource = Application.GetResourceStream(file);
int chunkSize = 2000000;
byte[] bytes = new byte[chunkSize];
int byteCount;
while ((byteCount = resource.Stream.Read(bytes, 0, chunkSize)) > 0)
    fileStream.Write(bytes, 0, byteCount);
fileStream.Close();
Microsoft.Xna.Framework.Media.PhoneExtensions.SongMetadata metaData =
    new Microsoft.Xna.Framework.Media.PhoneExtensions.SongMetadata();
metaData.AlbumName = "Some Album name";
metaData.ArtistName = "Some Artist Name";
metaData.GenreName = "test";
metaData.Name = "someSongName";

var ml …
Run Code Online (Sandbox Code Playgroud)

.net dll xna windows-phone-7 windows-phone-7-emulator

2
推荐指数
1
解决办法
3648
查看次数