0

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.

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

2 Comments

thanks for the help here, is there any workaround to solve such an issue ? or it is just not doable with any technique?
Have you tried with a "regular" file input element? The user should be able to navigate the SD Card. Less intuitive than what you want to achieve but doable...

Your Answer

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.