About html5 mobile phone camera call (original), html5 call camera original
I haven't written any essay for a long time
Starting from ios6, webview supports html <input type = "file"> tags to retrieve the album and camera of the mobile phone, but does not have the permission to prompt. I don't know if there is a problem with my writing, if the mobile phone disables the camera on the app, the camera can be opened in this way, but the camera cannot be taken. How can we give user-friendly prompts? The system prompts automatically before.
Android webkit does not seem to support this tag, or I am writing a problem. You can solve it if you know how to solve it.
Of course, the best way is to write the call method locally, and html calls the local method through js, so that Android and iOS are compatible, and there are still few problems.