About HTML5 call Phone camera (original)

Source: Internet
Author: User

I haven't written any essays in a long time.

Starting from IOS6, WebView support HTML <input type= "file" > tag, used to pick up the phone's album and camera, but no permission prompt, do not know if I write a problem, the phone to the app disabled the camera, this method can also open the camera, But can not take pictures, how to give user-friendly tips? The system is automatically prompted before.

Android WebKit does not seem to support this tag, or I write a problem, see, know how to solve the also help solve it.

Of course, the best way is to write a local call method, HTML through JS call local method, so that Android, iOS are compatible, and the problem is less.

About HTML5 call Phone camera (original)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.