XML:
<item>
<title>Some title</title>
<description>
<![CDATA[
Some description text Some description text Some description text Some description text Some description text Some description text
Some description text Some description text Some description text Some description text Some description text Some description text
Some description text Some description text Some description text Some description text Some description text Some description text
Some description text Some description text Some description text Some description text Some description text Some description text
]]>
</description> …Run Code Online (Sandbox Code Playgroud) 我正在为Blackberry(OS 5.0及更高版本)创建一个应用程序.我没有任何移动开发经验.我已经创建了一个工作正常的示例应用程序(遵循http://wiki.phonegap.com/w/page/31930982/Getting-Started-with-PhoneGap-BlackBerry-WebWorks中提到的指南).我安装了
(在BlackBerry 9550 Simulator上运行)
我想要做的是对域的简单AJAX请求(即www.sampledomain.com - 其中www.sampledomain.com托管在我的本地服务器上.)
我在www config.xml文件中添加了以下内容
<access uri="http://www.sampledomain.com" subdomains="true" />
Run Code Online (Sandbox Code Playgroud)
问题是,当我发送Ajax请求时,我收到消息"错误:请求资源时出错".
(我没有在www.sampledomain.com的apache访问日志中收到任何请求).
任何人都知道可能是什么原因?我该如何解决这个问题?谢谢