over 9 years ago
Load Html file from assets folder to WebView
Here I write code to load html file from our local folder assets to our WebView. First we get String Url from file and then load it to webview.
private WebView webTerms; webTerms = (WebView)findViewById(R.id.web_for_terms); String myUrl= "file:///android_asset/policy.html"; webTerms.getSettings().setJavaScriptEnabled(true); webTerms.loadUrl(myUrl);
Starting with Chrome version 45, NPAPI is no longer supported for Google Chrome. For more information, see Chrome and NPAPI (blog.chromium.org).
Firefox and Microsoft Internet Explorer are recommended browsers for websites using java applets.
Chrome Version Support
Are you sure, you want to delete this comment?
Sign up using
0 Comment(s)