I write in MainActivity.java:
my.WebView.getSettings() .setCacheMode(WebSettings.LOAD_NO_CACHE);
myWebView.loadUrl("file://android_asset/start.html");
And i write in start.html:
<meta http-equiv="refresh" content="1"; url=http://www.example.com/>
<img src="http://www.example.com/pics.png"
onerror="window.location='offline.html';">
How to make http://www.example.com full caching, and only start.html (or
pics.png) that not caching, because it used to welcome screen and check
connection, or any solution? Please help :( thanks,
--
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-developers/3cda056b-d061-4c50-a151-1b330945512f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.