Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Uploading files with PhoneGap + iPhone

I understand that PhoneGap applications are largely (if not entirely) HTML5 + CSS + JavaScript. Natively, the iPhone doesn't provide controls to upload files.

Does PhoneGap provide any mechanisms that allow users to upload files? (images / video, in the case of the iPhone)

I know Titanium allows users to do this, but it's a different animal with its compiled Javascript and proprietary APIs. Thanks for your advice/input.

like image 747
jocull Avatar asked Nov 29 '10 20:11

jocull


1 Answers

I believe you might be able to read the files using the PhoneGap API and the upload them using and AJAX post if the server application supported it.

The other option is to write a custom module/Plugin in PhoneGap that could specific to your needs.

Here are some Example Plugins

like image 130
Aaron Saunders Avatar answered Oct 02 '22 23:10

Aaron Saunders