Auto link property different text with the actual linking (setAutoLinkMask)

For example

TextView tv =(TextView)this.findViewById(;
tv.setText("visit website,");

pressing on will take me to The thing I want to do is like this

TextView tv =(TextView)this.findViewById(;
tv.setText("visit this website");

and pressing on "this" I want to take me to

How can I do this ? (is it possible at all ?)


From API Demo,

TextView t3 = (TextView) findViewById(;
                    "<b>text3:</b>  Text with a " +
                    "<a href=\"\">link</a> " +
                    "created in the Java source code using HTML."));

You can just use the attribute android:text="@string/url" as the TextView attribute. Make sure to put a valid URL as the value of the TextView.

Need Your Help

Python YAML Integer Attributes

python yaml

My yaml file as the following data

Latitude/Longitude Qt4 widget?

qt qt4 pyqt pyqt4

What is the best starting point for a Qt4 widget for entering Latitude/Longitude in DD:MM:SS format (degrees, minutes, seconds)? Customize a QLineEdit? A series of spin boxes?