[英]Phonegap FileTransfer doesn't work
I am using phonegap & jquery to develop a simple iphone app. 我正在使用phonegap和jquery开发一个简单的iphone应用程序。 I am trying to upload images from my iphone to my remote server.
我正在尝试将图像从iPhone上传到我的远程服务器。
I tried to do it using phonegap FileTransfer but nothing actually happens. 我尝试使用phonegap FileTransfer进行操作,但实际上没有任何反应。 Neither the success nor the error callbacks are being called.
成功回调和错误回调都不会被调用。 I even tried Copy/Paste the the example in the above link with the same results.
我什至尝试复制/粘贴上面链接中的示例,结果相同。 No callback is being called and of course, nothing is uploaded to the server.
没有回调被调用,当然,没有任何内容上传到服务器。 There wasn't even a request sent to the server.
甚至没有发送到服务器的请求。
Any ideas or recommended workarounds? 有什么想法或建议的解决方法吗?
如果您使用的是文档中的示例,则很可能需要更改到PhoneGap.js的链接,以包含已下载的PhoneGap的版本号。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.