Code example for WebView

Methods: getTitle

0
        } 
 
        @Override 
        public void onPageFinished(WebView view, String url) {
            super.onPageFinished(view, url);
            String title = mWebView.getTitle();
            if (title != null && title.length() > 0) {
                mTitle.setText(title);
            } 
            mSpinner.dismiss();
        }    
         
    } 
}