开发者

How to linkify to in-built apps like Contacts?

I have an empty TextView set for my ListView. When there is no data, it shows the empty text, where I have description that they should g开发者_JS百科o to Contacts application.

How can I linkify "Contacts" word so when tapped opens the Contacts application?


Try setting up a Linkify rule to the content:// URL of the contact in question. Though I am not certain what the pattern would be -- Linkify is designed for things that are obvious regexes. If all you want is for them to tap on the description as a whole, set up an OnClickListener for it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜