如何将Android手机与Google Glass连接以进行数据共享 [英] how to connect Android phone with Google Glass for data sharing

查看:80
本文介绍了如何将Android手机与Google Glass连接以进行数据共享的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已使我的应用程序在Google Glass上运行,但实时运行有些慢.有没有一种方法可以将我的Android手机与Glass进行数据通信,以便手机可以进行计算,而Glass仅显示结果? Glass可以通过蓝牙与Android手机绑定,因此它应该能够通过它传输数据吗?

I've made my app running on the Google Glass, but it's a little slow in real time. Is there a way to connect my Android phone with the Glass for data communication, so that the phone can take care of the calculation, and the Glass only show the result? The Glass can tether with Android phone by bluetooth, so it should be able to transmit data via it?

不知道是否可以在云服务器上运行我的应用程序并将结果发送回我的Glass,但是猜测也很慢.

Don't know if it's possible to run my app on cloud server and send the result back to my Glass, but guessing that would be slow as well.

任何建议都值得欢迎!谢谢.

Any suggestion is more than welcome! thanks.

推荐答案

是的,您可以将Android手机与Glass进行数据通信,以接收互联网内容.如果您的手机支持蓝牙网络共享(通常是运营商的选择),则可以使用Glass到WiFi(但您需要手机进行首次设置)来完成此操作,或者使用Glass到蓝牙的电话来实现.

Yes, you can connect your Android phone with Glass for data communication, to receive internet content for example. This can be accomplished using Glass to WiFi (but you need the phone to set this up the first time), or Glass to phone to Bluetooth if your phone supports bluetooth tethering, which is often a carrier option.

如果您是Glass资源管理器,则在您拿起Glass时应该已经对此进行了说明,但是您可以联系Glass Guides以获取更多信息,如果您是Glass Explorer,则将获得此联系信息.我发现他们在解决可用性问题时非常有帮助,而且很有趣.如果您亲自去拜访他们,他们会为您提供点心和饮料,这并没有什么害处.

If you are a Glass explorer this should have been explained when you picked up your Glass, but you can contact the Glass Guides for more information, if you are a Glass Explorer you will have this contact information. I have found them to be extremely helpful and fun to work with on usability questions. It doesn't hurt that if you visit them physically they ply you with treats and drinks.

如果您询问是否可以直接在电话和Glass之间打开插座,这是不受支持的功能,但是您可以

If you are asking if you can open a socket directly between phone and Glass, that is not supported functionality, but you can request it. It might be possible when the GDK is made public, but there is no timeline for that.

如果您想在手机上进行计算并将其传递给眼镜,则必须经过云计算,如此处.查看标题为开发人员如何与Glass交互"的部分以及随附的图形.我发现它的速度很快(不到一秒钟,连接性很好),但这是主观的,您的速度需求在您的问题中并未得到很好的定义.需要考虑的是,每次数据往返都将计入您的API控制台的每日限制,即每个人的每日限制为1000.还有每秒10个请求的限制.

If you wanted to do calculations on a phone and pass them to glass they would have to go through the cloud, as described here. Check out the section titled "How developers interact with Glass" and the accompanying graphic. I find it to be fast (sub one second with good connectivity), but that is subjective, your speed needs are not well defined in your question. A consideration is that every round trip of data will count against your API console daily limit, which is 1000 for most everyone. There is also a 10 request/second limitation.

最后一点-对于您可以直接访问的设备,在Glass和电话之间存在直接通话的不受支持的方式,但是不支持这种方式,其他Glass用户也无法轻松使用. Google I/O 2013会话中提到了实现此目的的技术:取消保修:黑客眼镜.

Last note - there are unsupported ways of talking directly between Glass and a phone for a device you have direct access to, but this is not supported, and could not be used by other Glass users very easily. The techniques to accomplish this are alluded to in the Google I/O 2013 session: Voiding Your Warranty: Hacking Glass.

如果您想通过某种方式直接与我联系,那么这个论坛是不适合讨论此问题的论坛,但是我完全不建议您使用此方法.

This forum isn't an appropriate one to discuss this, if you were to contact me directly somehow I could give you some pointers in the right direction, but I don't advise this route at all.

这篇关于如何将Android手机与Google Glass连接以进行数据共享的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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