Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/search/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Sencha touch 2 为Windows 8(非Windows phone 8)构建Sencha Touch应用程序Microsoft Surface_Sencha Touch 2_Visual Studio 2013_Windows 8.1 - Fatal编程技术网

Sencha touch 2 为Windows 8(非Windows phone 8)构建Sencha Touch应用程序Microsoft Surface

Sencha touch 2 为Windows 8(非Windows phone 8)构建Sencha Touch应用程序Microsoft Surface,sencha-touch-2,visual-studio-2013,windows-8.1,Sencha Touch 2,Visual Studio 2013,Windows 8.1,我想构建一个由Sencha CMD生成的简单Sencha Touch-2.3.1应用程序来运行它 Windows 8.1 Microsoft Surface Simulator 我打开了Visual Studio(2013),并创建了一个新的JavaScript Windows应用商店项目。 2-将生成的Sencha Touch应用程序文件复制到我的项目中。 3-将起始页从default.html更改为index.html 然后我在模拟器上运行它,但应用程序挂在带有白点的蓝色加载屏幕上。我打开j

我想构建一个由Sencha CMD生成的简单Sencha Touch-2.3.1应用程序来运行它 Windows 8.1 Microsoft Surface Simulator

我打开了Visual Studio(2013),并创建了一个新的JavaScript Windows应用商店项目。 2-将生成的Sencha Touch应用程序文件复制到我的项目中。 3-将起始页从default.html更改为index.html

然后我在模拟器上运行它,但应用程序挂在带有白点的蓝色加载屏幕上。我打开js控制台,在日志中没有找到任何内容

这种方法从一开始就错了吗?SenchaTouch团队假设他们支持Windows8,但我找不到任何说明构建过程的文档


如果需要更多信息,请告诉我,我们非常感谢您的贡献。

问题在于Windows 8内容安全策略(CSP)

除了我写过的几篇博文(特定于ExtJS,但原则相同),我之前已经回答过:


简而言之,两个Sencha框架都不明确支持Win8 CSP。。。但只要稍加修改,您就可以让它正常工作。

感谢Arthurakay的回复,这暂时解决了问题。我仍然相信有一种更“专业”的方式存在。如果Sencha声称并确认他们支持windows 8,那么我们“平台用户”不应该自定义他们生成的代码windows 8的浏览器是受支持的。。。Windows Phone 8也受支持。本机shell不是。这里有一条底线——它类似于支持Firefox,但不支持Firefox操作系统。