There is a webview component, I load the page there:
vw.loadUrl("strURL") How do I know if the page has loaded completely or has an error occurred?
1) Let's go to Google.
2) drive in
3) Get the answer :
mWebView.setWebViewClient(new WebViewClient() { public void onPageFinished(WebView view, String url) { System.out.println("Ух ты как просто!"); Toast.makeText(context, "Спасибо гуглу за это", Toast.LENGTH_LONG).show(); } }); Source: https://ru.stackoverflow.com/questions/410493/
All Articles