0

So I have been looking everywhere and doesn't seems to find working answer for this. I have dynamic html page create using iMapBuilder and it has 3 external js files. Before I have added dynamic contents html was working just fine being under assets directory with following command:

    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.ground_floor);
        WebView wv;
        wv = (WebView) findViewById(R.id.webview);
        wv.getSettings().setJavaScriptEnabled(true);
    wv.loadUrl("file:///android_asset/imap5custom.html");
    }
}

After adding dynamic content with 3 Java Script external files which are also under root assets folder, html doesn't work any more. I have tried:

mWebView.loadDataWithBaseURL

but still didn't work for me.

user3204192
  • 49
  • 1
  • 4

0 Answers0