views:

40

answers:

2

Hi,

I understand that it is not quite possible to access webcam through HTML. So how about on the iPhone? Is it possible?

+2  A: 

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

Jason
OK. What about in the future? Is it possible?
felixlaumon
Who knows? Web apps generally have very limited access to any local resources on the client, mainly for security purposes. It's possible that HTML5 will provide better access to webcams.
Jason
A: 

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.

Joel Clark