0
			Log.e(TAG, "Failed to open book");
			e.printStackTrace();
		} 
 
		bookView = (WebView) findViewById(R.id.book_web_view);
		bookView.getSettings().setJavaScriptEnabled(true);
		bookView.addJavascriptInterface(new BookModel(this), "Book");
		bookView.setWebViewClient(new BookViewClient(this));
		bookView.setWebChromeClient(new WebChromeClient() {
			@Override 
			public boolean onConsoleMessage(ConsoleMessage consoleMessage) {
				return super.onConsoleMessage(consoleMessage);
			} 
		}); 
 
		bookView.loadDataWithBaseURL("file:///index.html", html, "text/html", "UTF/8", "about:blank");
	} 
	 
	public void testFunction(View view) {
		Log.i(TAG, "This is a breakpoint...");
	} 
Stop searching for code, let great code find you!  Add Codota to your java IDE