I have an existing mobile web site on which I would like my users to upload pictures. Since it is not possible in the mobile's web Browser, I would like to know if I could just take the JS file and call the javascript's functions to get the picture taken by the camera for example. Thanks for your help, Julien
Asked
Active
Viewed 1,241 times
1
-
Since this question has been asked a couple things have happened regarding accessing the camera and photos on a mobile device. There's the `type="file"` input that is supported in iOS as well as the `getUserMedia` API. – Jasper Feb 03 '17 at 16:09
4 Answers
0
You can try putting an and the most new mobile devices would open a dialog and choose of relative apps install on the device from which you can upload files, thus including camera and gallery.
0
No. Accessing the camera requires using native APIs, and thus a native wrapper for your website. The phonegap js file talks to the native wrapper to be able to access those features.

Oiva Eskola
- 949
- 8
- 13
0
Currently only Native applications can access device-specific functionality, like access to the photos gallery...

Leon
- 4,532
- 1
- 19
- 24