[1] first create an asset folder, and place all your local web page files and assets within that folder
[2] create a web view within your layout folder of the activity
[3] finally use the web filter load the local page/HTML using an example of the code below
Simply do this:
WebView webView = (WebView)findViewById(R.id.webView1);
webview.loadUrl("file:///android_asset/file.html")];
Comments
Post a Comment