Popular Posts

There was an error in this gadget

Mar 18, 2012

Textview With a link in android


TextView textView = (TextView) findViewById(R.id.textView1);
        textView.setText(Html.fromHtml( "<b>TEXT:</b> This Text with a " +
                "<a href=\"http://itsjubayer.blogspot.com\">link</a> " +
                "By Java source code using HTML."));
    textView.setMovementMethod(LinkMovementMethod.getInstance());