JavaScript的照相机API的Andr​​oid(升级Froyo) [英] JavaScript Camera API Android (Froyo)

查看:131
本文介绍了JavaScript的照相机API的Andr​​oid(升级Froyo)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想作为谷歌IO上的升级Froyo demo'd通过Android浏览器访问的JavaScript API相机(是的,我有升级Froyo我Nexus1)。由于没有资料,我被W3C规范去。但是,我无法访问navigator.device对象和无法访问navigator.camera任 - 无论返回undefined。任何人都可以指向我的文档或有解决的办法?

I am trying to access the JavaScript Camera API via the Android browser as demo'd at Google IO 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 ?

推荐答案

在谷歌IO的演示是针对Android的未来版本中,的的升级Froyo。正如你在演示中看到,连自己的Google不能让它在第一次去工作。该演示是一个非常早期的阶段(α或更早)的原型。我不认为你可以做目前你想在浏览器中做什么。

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.

这篇关于JavaScript的照相机API的Andr​​oid(升级Froyo)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆