Coding Spirit

一位程序员,比较帅的那种

智能音响有两个重要功能:“说”和“听”。在Android Things上我们可以通过TextToSpeech和Google Assistant来实现上述功能。TTS的实现比较容易,而Google Assistant就比较麻烦了,目前我遇到的问题是Google Assistant能听懂我说什么,却不能给出答案。。还是写个日志记录一下吧。

Read more »

有篇Android官方文档提到:”For example, enums often require more than twice as much memory as static constants. You should strictly avoid using enums on Android.” 于是我们使用自定义annotation来代替Enum。

Read more »

Google推出Android Things都快一年了,现在还在preview阶段,而且现在支持的平台也很少,但是这些都无法阻挡我们试水的热情…

Read more »

之前想买块MTK的开发板,结果根本没有卖。。。 树莓派今年又不会出4,于是想用qemu边学边玩。

Read more »

当App启动载入时间较长时,我们希望有一个载入界面过渡,当载入完成后再切换到MainActivity。这个载入界面我们称之为SplashActivity。

Read more »

前段时间写了个debug tool用来自动抓测试数据,该工具需要通过爬取Log数据自动生成带Chart的Excel,但是原生的COM组件非常不好用,于是我重新封装了一个。

Read more »
0%