立即创建自定义的Google牌 [英] Create custom google now cards

查看:149
本文介绍了立即创建自定义的Google牌的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

谷歌提供的各种卡为谷歌现在( http://www.google.com/landing/now/ )。是否有可能创建自己的卡?系统查找pretty的模块化的,但我还没有发现任何文件或指示这样做。 (我相信你需要提供该卡的内容,和信号时,它应该要显示的某种方式,有可能只是你需要实现一些接口。)

Google provides a variety of 'cards' for Google Now (http://www.google.com/landing/now/). Is it possible to create your own cards? The system looks pretty modular, but I haven't found any documentation or instructions to do so. (I believe you need to supply the content of the card, and some way of signaling when it is supposed to be shown. There is probably just some interface that you have to implement.)

如果没有文档化的解决方案,一个的hackish /无证的方式将是确定了。我最好奇它是如何工作的。

If there is no documented solution, a hackish/undocumented way would be ok, too. I'm mostly curious how it works.

编辑:具体而言,是否有人有知识谷歌的内部现在,如通过反编译的.apk文件?我所看到的显示是pretty的模块,它应该是相当容易掉另一个类进.apk文件,或者使用的 Cydia的基板。我知道有(截至2013年11月),以增加新的卡没有正式的办法。

Specifically, does somebody have knowledge about the internals of Google Now, e.g. by decompiling the .apk? What I've seen suggests it is pretty modular, and it should be fairly easy to drop another class into the .apk, or to maybe inject code using Cydia Substrate. I know that there is (as of Nov. 2013) no official way to add new cards.

推荐答案

其实谷歌上周宣布,开发人员现在可以开发定制的谷歌现在卡:

Actually Google announced last week that developers can now develop custom Google Now cards:

<一个href="http://www.google.com/landing/now/integrations.html">http://www.google.com/landing/now/integrations.html

不过,开发人员指南,似乎尚未公布。

However, a developer guide seems not available yet.

编辑: 在页面的最后,他们指出:

On the end of the page they point out that:

我们会让你知道,当我们能够随带的更多的合作伙伴

We'll let you know when we are able to onboard more partners

这篇关于立即创建自定义的Google牌的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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