By clicking on the URL that is in TextView
, I would direct redirect to the Facebook application.
The following is a code excerpt that I have to leave the textview clicked
// Checking for null feed url
if (item.getUrl() != null) {
url.setText(Html.fromHtml("<a href=\"" + item.getUrl() + "\">"
+ item.getUrl() + "</a> "));
// Making url clickable
url.setMovementMethod(LinkMovementMethod.getInstance());
url.setVisibility(View.VISIBLE);
When you click the TextView
it opens the app chooser dialog to complete the action. I would like it to directly open Facebook