Image Files from Camera

27 views
Skip to first unread message

Jamon Holmgren

unread,
Apr 10, 2012, 2:17:52 PM4/10/12
to persis...@googlegroups.com
We're using PhoneGap for an iOS app. We're using Persistence.js and the Sync plugin to keep a remote server's database synced. It's working quite well.

However, we now want to capture an image using the camera and sync that data. I know we can store the image as a base64 encoded string, but currently PhoneGap is storing the image as a file. Is there a good way to sync files from a file location or are we better off storing the string and syncing that?

Thanks in advance,

Jamon Holmgren
Reply all
Reply to author
Forward
0 new messages