开发者

Access Camera through iPhone Web App

开发者 https://www.devze.com 2023-01-06 21:04 出处:网络
I understand that it is not 开发者_JAVA技巧quite possible to access webcam through HTML. So how about on the iPhone? Is it possible?Starting with iOS6, You are able to access the Camera, and Photos us

I understand that it is not 开发者_JAVA技巧quite possible to access webcam through HTML. So how about on the iPhone? Is it possible?


Starting with iOS6, You are able to access the Camera, and Photos using the<input type="file" /> input


Take a look at: http://code.google.com/p/iphone-photo-picker/

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.


No. You can access the phone through the native API, but not via a web app.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号