0

I capture image from phone device and stored in my sd card using PhoneGap and Jquery. Now I want to upload images from sdcard to salesforce site and update the database. Please gave me solution how I do this.

Thanks in advance...

1 Answer 1

0

It sounds like you want to use the FileTransfer.upload() method.

3
  • I dont know how to do this, please provide me the full source code how I perform this using javascript and jquery.. Feb 7, 2012 at 9:38
  • I can't write your code for you but check out docs.phonegap.com/en/1.4.1/… and zacvineyard.com/blog/2011/03/25/… Feb 7, 2012 at 16:35
  • I try this but itdoes not update salesforce database, as i use server= "ap1.salesforce.com/p/attach/NoteAttach?pid='"; + record.Id + "'&parentname='" + record.CaseNumber + "'&retURL=ap1.salesforce.com/'"; + record.Id + "'"; where record.Id is the case where I want to upload photo Feb 8, 2012 at 7:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.