Hi, I have a webview and use caching. This worked fine until now. On my Motorola Defy (Android 2.1) I can not open webpages anymore. I have not changed anything on the code of the webview activity. Under preferences/applications I can see that the cache size is 0.
04-06 21:50:35.452: DEBUG/Alpenkalb(19966): Start webview: http://gipfelbuch.ch/tourenfuehrer/uebersicht/region/1 04-06 21:50:35.452: DEBUG/Alpenkalb(19966): [ 04-06 21:50:35.499 19966:0x4e13 D/No cache file for url http://gipfelbuch.ch/tourenfuehrer/uebersicht/region/1 Here is how I enable caching: webView.getSettings().setDomStorageEnabled(true); // Set cache size to 8 mb by default. should be more than enough webView.getSettings().setAppCacheMaxSize(1024 * 1024 * 8); // didn't work for me without this line webView.getSettings().setAppCachePath("/data/data/ch.gipfelbuch/cache"); webView.getSettings().setAllowFileAccess(true); webView.getSettings().setAppCacheEnabled(true); Any ideas? Thanks, Stephan -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en