如何将Google Glass屏幕镜像到PC / Mac?

时间:2013-12-04 16:35:42

标签: android google-glass google-gdk

我想分享我在PC或Mac上如何镜像Google Glass屏幕的经验,以便您在演示期间分享它等。请参阅下面的答案或添加您的答案。

3 个答案:

答案 0 :(得分:6)

1)

  • 从这里下载DroidScreen jar文件: http://droid-at-screen.ribomation.com
  • 您需要安装Android SDK / Java
  • 将Glass连接到PC(Glass应设置为Debug模式),使用以下命令或双击.jar文件运行它: java -jar droidAtScreen-1.0.1.jar
  • 在第一次运行时,java程序会询问adb程序的完整路径,该程序位于platform-tools目录中。

2)

  • 从Android Screen Monitor(ASM)下载ASM.jar文件(截至2013年11月): https://code.google.com/p/android-screen-monitor/
  • 您需要安装Android SDK / Java并在PATH中拥有工具和平台工具目录。您可以按照以下方式执行此操作:

export PATH = $ PATH:/ Users / username / AndroidSDKDirectory / tools /

答案 1 :(得分:2)

这是一段视频,详细介绍了如何通过USB电缆将玻璃镜像到屏幕上。

http://www.youtube.com/watch?v=cGsfpV9FdBs&feature=youtu.be&noredirect=1

答案 2 :(得分:-1)

按照此link上的步骤操作,下载Android屏幕监视器

使用命令行打开ASM

# no values specified
iris %>% ggvis(~Sepal.Width) %>% layer_histograms(width = 1)  %>%
   add_axis("y", title = "Count", title_offset="50") 
   add_axis("x", title = "Width", title_offset="50") 

#0 to 150
 iris %>% ggvis(~Sepal.Width) %>% layer_histograms(width = 1)  %>%
   add_axis("y", title = "Count", title_offset="50",  values = seq(0,150, by = 10))  %>%
   add_axis("x", title = "Width", title_offset="50") 

  #0 to 175
 iris %>% ggvis(~Sepal.Width) %>% layer_histograms(width = 1)  %>%
   add_axis("y", title = "Count", title_offset="50",  values = seq(0,200, by = 10))  %>%
   add_axis("x", title = "Width", title_offset="50") 

 #0 to 250
 iris %>% ggvis(~Sepal.Width) %>% layer_histograms(width = 1)  %>%
   add_axis("y", title = "Count", title_offset="50",  values = seq(0,250, by = 10))  %>%
   add_axis("x", title = "Width", title_offset="50") 

#0 to 500
 iris %>% ggvis(~Sepal.Width) %>% layer_histograms(width = 1)  %>%
   add_axis("y", title = "Count", title_offset="50",  values = seq(0,500, by = 10)) 
   add_axis("x", title = "Width", title_offset="50")