简体   繁体   中英

Get website title back from Android browser?

My Android application launches the system default web browser to display a URL to the user. I want to capture the title of this URL so I can save it in my own app history. I know I can do this if I use a WebView, but I feel like the user experience would be much better if the user could use their preferred browser instead of an in-app one. After reading many similar questions on this site, I'm feeling like this can't be done and I will have to use an in-app browser or scrape the page myself to get the title.

我认为, 您无法从android默认浏览器中获取数据,如果您想与浏览器进行任何接口(例如获取url,runnig java脚本),则必须使用应用程序的webview。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM