This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// add this code to the onCreate method of your MainActivity.java File | |
String url ="URL" ; // Replace URL with your website address like this "http://google.com" | |
WebView view = (WebView) this.findViewById(R.id.webView); | |
view.getSettings().setJavaScriptEnabled(true); | |
view.loadUrl(url); |