通过 iPhone Web App 访问相机 [英] Access Camera through iPhone Web App
问题描述
我了解通过 HTML 访问网络摄像头不太可能.那么在 iPhone 上呢?有可能吗?
I understand that it is not quite possible to access webcam through HTML. So how about on the iPhone? Is it possible?
推荐答案
看看:http://code.google.com/p/iphone-photo-picker/
这是由 NextStop 人员完成的,并且在 MIT 许可下开源.它基本上使用 URL 方案,允许您将网络用户重定向到一个足够长的小型原生应用程序以拍摄照片,然后返回您的网络应用程序以继续他们的体验.
This was done by the NextStop guys, and is open sourced under MIT license. It basically uses an URL scheme to allow you to redirect a web user to a tiny native app long enough to take the picture, and then back to your web app to continue their experience.
我还没有使用它,但我看到他们在网络广播中进行了演示,并计划在我们的移动网站完成足以合并它时自己使用它.
I haven't used it yet, but I saw them demo it in a webcast and plan on using it myself when we get our mobile site done enough to incorporate it.
这篇关于通过 iPhone Web App 访问相机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!