Android: Start activity via link in TextView

Anton picture Anton · Dec 1, 2010 · Viewed 24k times · Source

I have a TextView which I fill with HTML and linkify it then. Some of the links in HTML are in special format and meant to be links to other activities in my project, not normal URL links. Is it possible to intercept clicks on such links in TextView and do custom action in case the link is in special format?

Thanks.

Answer

Etienne picture Etienne · Dec 1, 2010

A question about how to manage link click has already been post and should answer your question. Here is the link : handle textview link click in my android app