Created
October 11, 2015 13:36
-
-
Save William-ST/5fb26b6417371d795e2b to your computer and use it in GitHub Desktop.
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
/* | |
xml: | |
<WebView | |
android:id="@+id/webview" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent"/> | |
*/ | |
WebView webView; | |
webView = (WebView) findViewById(R.id.webview); | |
webView.getSettings().setJavaScriptEnabled(true); | |
webView.loadUrl(url); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment