Android Camera JavaScript API (Froyo)

I am trying to access the JavaScript JavaScript API through the Android browser, as shown in Google IO on Froyo (yes, I have Froyo on my Nexus1). Since there is no documentation, I will go over the W3C specifications. But I can’t access the navigator.device object and I couldn’t access navigator.camera - both return undefined. Can someone point me to the documentation or do you have a solution?

+1
source share
1 answer

The Google IO demo was for a future version of Android, not Froyo. As you saw in the demo, even the googlers themselves could not get it to work first. The demonstration had a very early stage (alpha or earlier) of the prototype. I do not think that you can do what you are trying to do in the browser.

+4
source

Source: https://habr.com/ru/post/1338126/


All Articles