Windows Phone - 混合Sencha App问题 [英] Windows Phone - Hybrid Sencha App Issue

查看:93
本文介绍了Windows Phone - 混合Sencha App问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在使用针对iOS,Android和Windows Phone的Sencha Touch 2.4.0构建混合应用程序。虽然我们能够使用存根数据打包和运行Windows Phone 8.1的应用程序,但是我们无法对
进行任何调用Web服务(服务暴露给公共服务器)。构建应用程序后,当我们进行XMLHttpRequest调用(POST)时,请求似乎返回空响应。 

推荐答案

我是不熟悉Sencha,你没有提供很多关于你的应用在这里做什么的信息,但检查你是否选择了网络功能。在Visual Studio中,这些在清单编辑器的功能选项卡中公开。
如果没有宣布申请,则无法访问网络。
I'm not familiar with Sencha and you don't provide a lot of information about what your app is actually doing here, but check that you have network capabilities selected. In Visual Studio these are exposed in the capabilities tab in the manifest editor. Without those declared the app does not have access to the network.


这篇关于Windows Phone - 混合Sencha App问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆