How to get a picture from phonegap to a remote XPage?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I've built an Phonegap App with version 1.6 on my iPad an set the ulr to an XPage on the Domino Server now to my problem: When I take a picture on the iPhone and upload it to my XPage using the function takePicture the "returnvalue" is a String like this data:image/jpeg;base64,file://localhost/var/mobile/Applications/C1ABCAD3-5F54-45AB-81B0-A242940B58CB/tmp/photo_001.jpg is there a chance to get the file uploaded and not the string? here is the code I'm using: XSP.submitLatency = 300*1000; function takePicture() { navigator.camera.getPicture