Android: including HTML pages stored within the app

Let's say we have a "Welcome", or "Help" HTML page that we want to include in the app. We put it in the assets directory, I created subfolder there called html.









Now I can call:


webView.loadUrl("file:///android_asset/html/index.html");

No comments:

Post a Comment