English 中文(简体)
我如何使用超文本5进入Pi或Ath照相机?
原标题:How can I access iPhone or Android camera using HTML5?

我正试图建立一个网络应用程序,以建立在“i”或“Andrew”浏览器上。 我能如何在两处接触摄像机,以掌握图像并将其上载到网络应用?

最佳回答

我认为这是不可能的。 至少在目前状态下,超文本5不能进入照相机(或其他外围)。 另一种选择是创建电话应用系统,在这种应用中,你可以以超文本5(将装入本土应用)开发该仪器,并增加图书馆,使你能够查阅这些图书馆。

More info on PhoneGap: http://phonegap.com/start Camera api on PhoneGap: http://docs.phonegap.com/en/1.0.0/phonegap_camera_camera.md.html

问题回答

此时此刻,你可以 t。 http://dev.w3.org/webrtc/editor/getusermedia.html W3C 获得UserMedia AP 我由浏览器最后确定和执行,这是可能的,但现在就到了。 (Opera Mobile有一版,出于兴趣实施。)

您的情况是这样吗?

<input category=“file”接受=“image/*”捕获=“camera”/>

You can access to camera! Example http://davidwalsh.name/demo/camera.php . I have tested it on my Nexus 4

万维网RTC协议是一个很好的场所,可以看一看。





相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签