如何在模拟器中运行谷歌玻璃项目?器中、玻璃、项目、如何在

2023-09-06 09:11:22 作者:失落乄郁悶中

我没有一个谷歌的玻璃设备。不过,我很感兴趣,为谷歌做玻璃的应用。我想运行一个Hello World在谷歌玻璃不需使用的设备。

I don't have a google glass device. But I am very interested to do apps for Google Glass. I want to run a Hello World in Google Glass without the use of device.

我跟着教程为谷歌眼镜。后来我发现谷歌的玻璃一些样本项目。谁能告诉我如何在仿真器或不带设备运行简单的谷歌玻璃项目。

I followed the tutorials for Google Glass. Then I found some sample projects of Google glass. Can Anyone tell me how to run a simple Google Glass Project on an emulator or without a device.

和你所知道的,有测试设备没有我们开发的玻璃APK任何替代方法。

And can you tell, Is there any alternative way to test the Glass APK developed by us without device.

推荐答案

首先,你需要设置玻璃论网络手机或模拟器。 Gooogle企业玻璃是orignally超过Android的,你需要安装发射器的一个的APK发射。

First you need to set up Glass On mobile or an Emulator in Web. Gooogle Glass is orignally a launcher over android you need to install the apks of that launcher.

这里 你会发现APK的(但是相机玻璃从来没有为我工作。)

这里 是向您展示的过程(在Nexus 7)相册

Here is an Album showing you the process (on Nexus 7)

这 是一组演示的的

And This is the set of Demo's

全部设置完毕后,你必须连接的android手机,然后再安装apk的使用ADB。例如。

After all set up you have to connect the android phone and then install the apk's using adb. e.g.

adb install -r com.sample.packagee

后,你可以通过语音命令来启动应用程序,或者如果它亘古不支持语音触发然后启动它像

after that you can launch the app through voice command or if it doesnot support voice trigger then launch it like

adb shell am start -n com.mikedg.android.glass.launchy/.MainActivity

我写下来的问题,一个wiki和做的请检查在这里。

I am writing down a wiki for the issues and the to do's Please check it here..