Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有带有标准链接的 HTML,这些链接对应于我想要处理的命令。
This is <a href="CMD:nice">a command</a>.
我用 Html.fromHtml() 填充 TextView
如何使用 Android Linkify 系统将链接转换为 Linkify 的链接?
发现 Google 的 WikiNotes 示例项目正是这样做的。它使用带有 Provider 和 MIMIE 类型的 Linkify 基础架构来加载正确的 Activity。