0

Essentially what I am trying to accomplish is the following:

I currently have Cordova loading a page from my external Drupal site. The webpage loads fine, looks great on the screen, the only problem is that it won't allow me to upload a file to through the app itself.

I tried opening the same page in my Android's web browser (Dolphin) and the link worked just fine.

Any help would be appreciated, even if you tell me its not possible, that way I can stop looking and try out another option.

4

2 回答 2

0

使用 FileTransfer 对象: http ://docs.phonegap.com/en/1.0.0/phonegap_file_file.md.html#FileTransfer

于 2012-12-21T00:21:28.350 回答
0

为此,您需要允许 Cordova 写入 drupal 站点所在的服务器,这不是一个好主意。

于 2012-04-16T03:29:08.570 回答