[英]How does WebView work in a mobile device? (starts a new browser?)
I'm new to android. 我是android新手。 I have a question related to WebView.
我有一个与WebView有关的问题。 It's not clear to me how WebView works.
我不清楚WebView如何工作。
When we use a WebView, does the mobile start a new browser in order to load the URL (even if the url is online or locally stored on the mobile)? 当我们使用WebView时,移动设备是否会启动新的浏览器以加载URL(即使该URL是在线的还是本地存储在移动设备上)?
Cause, I would like to create a native android app (test.apk) with WebView and its's not clear to me if the app starts from the browser or from an inline View. 原因,我想使用WebView创建一个本地android应用(test.apk),但对于该应用是从浏览器还是从内联视图启动,我还是不清楚。
Any tutorial or example would be very helpful 任何教程或示例都将非常有帮助
Thanks 谢谢
A WebView is a view that displays web content right inside your app. WebView是在应用程序内部显示Web内容的视图。 It does not have fancy stuff like bookmarks or a history view, but you could build a full featured browser around a
WebView
. 它没有诸如书签或历史视图之类的奇特的东西,但是您可以围绕
WebView
构建功能齐全的浏览器。 Imagine a WebView
as a view that displays a web page. 将
WebView
想象为显示网页的视图。
If you want to start an external web browser app, you can use an Intent to let the system find a suitable app to handle your url. 如果要启动外部Web浏览器应用程序,则可以使用Intent让系统找到合适的应用程序来处理您的URL。
Webview is : Webview是:
Check Android Webview for detailed information. 检查Android Webview以获得详细信息。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.