Friday, 5 December 2014

Go to URL through On click on string

void callYouURL()
    {
  // If you Want call URL
       String html = "<a href=\"http://yourdomain.com\">Your Domain Name</a>";
       yourtextview.setMovementMethod(LinkMovementMethod.getInstance());
       yourtextview.setText(Html.fromHtml(html));
     
    }

No comments:

Post a Comment