谷歌玻璃和Android设备之间交换数据 [英] Exchange data between google-glass and a android device

查看:150
本文介绍了谷歌玻璃和Android设备之间交换数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

场景如下:

我在手机上运行我的一个Android应用程序。 I'm这个应用程序的所有者。
我有一个谷歌玻璃与此同步的手机。 I'm使用新GDK推出几个星期前,开发我的谷歌玻璃应用。

I have a android app running my in cellphone. I´m the owner of this app. I have a google-glass synced with this cellphone. I´m developing a my app for google-glass using the new GDK launch a few weeks ago.

我想从玻璃发送数据,以手机,然后收到答复。
没有互联网连接的需要,所以i'm计划使用蓝牙这一数据通信。

I want to send a data from glass to cellphone and then receive a answer. No internet connection is necessary, so i´m planning to use Bluetooth to this data communication.

我可以创建一个蓝牙套接字连接,但是这将责成我来管理它。
没有Android的高度抽象,允许我打电话给服务或直接在手机一个活动?

I can create a Bluetooth socket connection, however this will obligate me to manage it. There is no android high level abstraction that permit me to call a service or a activity directly on the cellphone?

推荐答案

据我所知,还有它们之间没有直接的管道,玻璃基本上是一组不同的输入和输出的电话。您可以创建和管理连接,它是你的了。

AFAIK, there's no direct pipe between them, the glass is basically a phone with a different set of inputs and outputs. You can create and manage the connection, and it's yours.

这篇关于谷歌玻璃和Android设备之间交换数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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