android -- how to make my text 'clickable' (url link)
<p>My problem is that when i add the string "Check here" then the link isn't clickable.</p>

<p>If i only leave <code>&lt;a href ="http://www.google.gr" &gt;</code> ,then it works ok.</p>

<p>I have in the read.class:</p>

<pre><code>public class read extends Activity {

     /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.read);

        String myFeed=getResources().getString(R.string.icons_link_str);

        try{
            URL url =new URL (myFeed);

            URLConnection connection=url.openConnection();
            HttpURLConnection httpConnection =(HttpURLConnection)connection;

            int responseCode=httpConnection.getResponseCode();
            if (responseCode ==HttpURLConnection.HTTP_OK){
                InputStream in = httpConnection.getInputStream();

            }
        }
        catch (MalformedURLException e) {}
        catch (IOException e) {}

    }

}
</code></pre>

<p>in the read.xml:</p>

<pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical" &gt;


    &lt;TextView
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:text="@string/choose_help"
         /&gt;

    &lt;TextView
                android:id="@+id/icons_link"
                android:autoLink="web"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:linksClickable="true"
                android:text="@string/icons_link_str"/&gt;



&lt;/LinearLayout&gt;
</code></pre>

<p>and in the strings:</p>

<pre><code>&lt;string name="icons_link_str"&gt;&lt;a href ="http://www.google.gr" &gt;Check here.&lt;/a&gt;&lt;/string&gt;
</code></pre>

<p>Can i do sth for that?</p>
