It is easy to display a html page with a webView. As below:
why = (WebView) findViewById(R.id.webView);
String htmlStr = "http://myhtml";
why.loadUrl(htmlStr);
But my difficulty is to display a html page with file.html locally.
Where is what I should put my file.html in my project and how the call with WebView?
Thank you for your reply, and sorry for my bad English.
Put that
.htmlfile in your project’sassetsfolder and use with below code –