i take a string from my ressource strings.xml and put the string in a TextView.
In strings.xml :
<string name="description">Hello please look into <a href="http://www.webtour.dk">www.webtour.dk</a></string>
In main.xml :
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/description"
android:textSize="12dp"
android:textStyle="bold" />
I got this result good result,www.webtour.dk appear as a link. But when i click on the link i got nothing!!! no navigator is launched??
Simply use Linkify to look for web sites automatically:
Then take the html out of your text: