Eqbal
Eqbal

Reputation: 1879

Uploading Image from smartphone using HTML5 and JS

Is it possible to upload an image from a smartphone's library, like iPhone, using HTML5 and JS? I'm working on an HTML5 site and I need to let the user upload images using a standard form and multipart. I heard that the Phonegap API supports such a functionality, but the question is, is that possible without using wrappers and a native app?

Thanks in advance.

Upvotes: 0

Views: 397

Answers (1)

dda
dda

Reputation: 6203

Not in a browser, no. The Phonegap API will not work in a web site loaded in a browser. It requires the Java side of the app to work, and thus a full Phonegap application.

Upvotes: 1

Related Questions