的谷歌玻璃弹出通知 [英] popup notifications for google glass

查看:318
本文介绍了的谷歌玻璃弹出通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何自定义弹出通知谷歌玻璃是在玻璃谷歌显示广告的方式。我希望我的服务,在后台运行,并只在必要时及时发送弹出。

How do i make custom popup notifications for google glass the way it is shown in the google glass commercial. I want my service to run on the background and send timely popups only when necessary.

链接,以供参考
<一href=\"http://www.mobile88.com.sg/news/read.asp?file=/2012/5/11/20120511113022&phone=Google_Glass_augmented_reality__futuristic_concept\" rel=\"nofollow\">http://www.mobile88.com.sg/news/read.asp?file=/2012/5/11/20120511113022&phone=Google_Glass_augmented_reality__futuristic_concept

有没有可能的方式这样做,或者我应该只使用仅Toast通知或通过调用意图的活动。

Is there a possible way to do so or should I just use only Toast notifications or invoke activities through intents.

推荐答案

从概念视频的弹出式的设计是由玻璃团队测试,然后才向公众发布,发现过于分心。它演变成时间轴通知这是不浸润性的概念,但仍担任适时发出警报,只有在适当的时候。

The "popup" design from that conceptual video was tested by the Glass team before it was released to the public and found to be overly distracting. It evolved into the concept of timeline notifications which are not as invasive, but which still act as timely alerts only when appropriate.

这些时间表通知可以一般有两种方法来完成,这取决于你的具体使用案例:

These timeline notifications can generally be done in one of two ways, depending on your exact use case:


  1. 您的应用程序或Web应用程序可以使用镜像API的一个通知声音适当的时候插入一个时间表项。用户将听到的声音,如果他们是在一个位置,这样做,可以唤醒玻璃看到该卡。

  1. Your app or webapp can use the Mirror API to insert a timeline item at the appropriate time with a notification sound. Users will hear the sound and, if they are in a position to do so, can wake Glass to see the card.

您GDK应用程序可以创建一个LiveCard和 LiveCard.PublishMode.REVEAL 发布,它会自动显示在发布后立即在卡上。

Your GDK app can create a LiveCard and publish it with LiveCard.PublishMode.REVEAL which will automatically display the card right after you publish it.

这篇关于的谷歌玻璃弹出通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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