Document html= (Document) Jsoup.parse(htmlContent);
span = ((org.jsoup.nodes.Document) html).body(). getElementsByAttribute("data-tap-action- url").get(0).attr("data-tap-action-url");
Code for opening my inbuilt browser
if (span.startsWith("http"))
{
invokeChildBrowser(span);
}
You should use a Cordova/phonegap webview and a plugin for opening URLs (e.g: InAppBrowser), otherwhise your link will be broken or will be opened in the dialog