I am working on uploading a picture to a server. I am able to successfully upload an image using iOS but when i try on android I get the error code 3. Currently using phonegap cordova 1.8.1.
I already tried adding true to the parameters
upload(filePath, server, successCallback, errorCallback, options, **true**);
and adding this
options.chunkedMode = false;
My AndroidManifest file contains:
<uses-permission android:name="android.permission.INTERNET" />
My cordova.xml file contains:
<access origin="*"/>
Am I missing something?
Thanks
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…