As we can see opera software make the api to help developer to access to the camera from the web page.
Can we do it on mobile safari i开发者_JS百科n ios5 ?
Besides,some guys said that they can do it on a android device.Is it really?
If you know that,please post the link following your answers.
Thank you very much.
You can access to the hardware by using a library like phonegap. This can be done only if phonegap and your html page are embedded in an app. http://docs.phonegap.com/en/1.1.0/phonegap_camera_camera.md.html#Camera
A website, or any javascript code loaded from a real website won't be allowed to use a phone camera for security purposes.
精彩评论