You must use TransformFilter. I hope for this help.
TextView textview = (TextView) findViewById(R.id.mytext);
textview .setText("WordToBeLinked");
TransformFilter mentionFilter = new TransformFilter() {
public final String transformUrl(final Matcher match, String url) {
return new String("http://mydomain.com/something");
}
};
Pattern pattern = Pattern.compile(".");
String scheme = "";
Linkify.addLinks(textview, pattern, scheme, null, mentionFilter);
Since in your case there is no template and diagram, therefore they are only the owner of the place.
Gopal source
share