开发者

JavaScript Camera API Android (Froyo)

I am trying to access the JavaScript Camera API via the Android browser as demo'd at Google I开发者_开发问答O on Froyo (yes, I have Froyo on my Nexus1). Since there is no documentation, I am going by the W3C specs. But, I am unable to access the navigator.device object and unable to access navigator.camera either - both return undefined. Can anyone point me to documentation or have a solution ?


The demo at Google IO was for a future version of Android, not Froyo. As you saw in the demo, even the Googlers themselves couldn't get it working at first go. The demo was of a very early-stage (alpha or earlier) prototype. I don't think you can currently do what you're trying to do within the browser.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜