The project has a requirement, which requires calling the user's camera to take photos and upload documents. Can this be achieved? Are there any cases to share?
capture=”camera” attribute Only the browser in the iPhone can recognize the camera. Some built-in browsers in Android series phones can, but most of them cannot.
http://www.html5plus.org/doc/...
input file image/*
Uploading is very simple. Please note that the function of dropping the photo album under Android requires native cooperation. Turn on the function permission of dropping the camera. It is very simple on h5. See Liezi for details
https://my.oschina.net/zyxchu...