1
有没有人有任何想法如何获取documentUNID到phonegap的文件传输功能?如何获得Serverside值到phonegap参数
我tryed一些解决方案,但似乎没有任何工作:
首先我想:
function uploadPhoto(imageURI) {
var options = new FileUploadOptions();
options.fileKey="file";
options.fileName=imageURI.substr(imageURI.lastIndexOf('/')+1);
options.mimeType="image/jpeg";
var params = new Object();
params.value1 = "test";
params.id = XSP.getElementById("#{id:inputText1}").value
options.params = params;
var ft = new FileTransfer();
ft.upload(imageURI, "serverURL", win, fail, options);
}
这导致“功能无法找到”。
我的第二个IDE的是通过使用Document1.getDocument.getUniversalID()
这也导致计算documentID“功能无法找到”。
已annyone任何想法如何获得Serverside值的这个phonegap函数的参数?