Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 Apache Cordova 的 API 开发一个移动应用程序,并且想知道是否有一种方法可以让相机嵌入到我的应用程序中。
我知道 Apache Cordova 有一个摄像头功能,但它只是用于本机摄像头应用程序。我希望它在 html 上显示相机供稿。
对于访问设备摄像头,我认为您可以使用HTML5 getUserMedia 函数,但正如您在此处看到的,移动浏览器不太支持此功能。