Loading remote URLs

How to load a remote URL

To load a remote URL into a WebView, call WebView::loadURL with the URL of your choice, here's an example:

myWebView->loadURL("http://www.google.com");

You can also load Unicode URLs using the wide-string overload of :

myWebView->loadURL(L"http://translate.google.com/#auto|en|你好");

The above two examples use our C++ API, here's an example using our C# API:

myWebView.LoadURL("http://www.google.com");

Asynchronous behavior

Be aware that is an asynchronous operation, which basically means that the WebView will only begin loading your URL when the function returns-- the page is not likely to be fully loaded until sometime later.

If you would like to receive notification when the page finishes loading, please see WebViewListener::onFinishLoading (or, if you use C#, see WebView.OnFinishLoading).