Code example for WebView

Methods: getTitle

0
 
		@Override 
		public void onPageFinished(final WebView view, final String url) {
			super.onPageFinished(view, url);
			if (mActivity instanceof BaseActivity) {
				mActivity.setTitle(view.getTitle());
				((BaseActivity) mActivity).setSupportProgressBarIndeterminateVisibility(false);
			} 
		} 
 
		@Override 
		public void onPageStarted(final WebView view, final String url, final Bitmap favicon) {
			super.onPageStarted(view, url, favicon);
			if (mActivity instanceof BaseActivity) {
				((BaseActivity) mActivity).setSupportProgressBarIndeterminateVisibility(true);
			} 
		} 
 
		@TargetApi(Build.VERSION_CODES.FROYO)
		@Override 
		public void onReceivedSslError(final WebView view, final SslErrorHandler handler, final SslError error) {