I am building an application which loads HTML files stored on my android device. The files are typically quite large(6MB for example). If I load these HTML files it takes quite a long time to display them(20 to 25 seconds). Can anyone give me some advice about how to improve this loading time? code I tried so far:
final WebView webView = (WebView) findViewById(R.id.webView1); webView.loadUrl("file:///android_asset/content.html"); webView.getSettings().setCacheMode(<all cache modes>) I tried this on android 2.3 and 4.0, Android 4.0 performs actually worse then 2.3.
Any hints about how to improve performance?