0
Document html =(Document)Jsoup.parse(htmlContent);私は、ダイアログ内のウェブビューでHTMLコンテンツを読み込んでいるハイブリッドアプリケーションに取り組んでいます。 "span"にurl value.help meがあります
span =((org.jsoup.nodes.Document)html).body()。 getElementsByAttribute( "data-tap-action-url")。get(0).attr( "data-tap-action-url"); (span.startsWith( "HTTP"))場合には、私の作り付けのブラウザ
を開くための
コード
{
invokeChildBrowser(スパン);
}
で開かれますotherwhise私のリンクをクリックして私の組み込みのブラウザを起動することはできません。 @marcozabo –
もちろん、あなたはできません、別のソリューションは、Android WebView JavascriptInterfaceを使用しているので、javascript経由であなたの内蔵のブラウザをトリガーすることができます:http://developer.android.com/guide/webapps/webview.html – marcozabo
大丈夫助けて –