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

Edit
Report