Linkify text in android
<p>i am using following code in my app:</p>

<pre><code>import android.app.Activity;
import android.os.Bundle;
import android.text.Html;
import android.text.method.LinkMovementMethod;
import android.text.util.Linkify;
import android.widget.TextView;

public class LinkifyDemo extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        TextView linkify = (TextView) findViewById(R.id.linkify);
        linkify.setText("http://www.google.com");
        Linkify.addLinks(linkify, Linkify.WEB_URLS);


        setContentView(R.layout.main);
    }
}
</code></pre>

<p>also included followin permission in my manifest.</p>

<pre><code>&lt;uses-permission android:name="android.permission.INTERNET" /&gt; 
</code></pre>

<p>But application giving error,getting force close.
Can any one help me in this.
Thanks!!</p>
