WebView Cache Data Directory?

前端 未结 2 980
暗喜
暗喜 2020-12-29 17:19

In my code I have a custom cache directory set to the sdCard and I point the \'WebView.getSettings().setAppCachePath(\"\")\' to this path but the OS sends the cache to the d

2条回答
  •  梦毁少年i
    2020-12-29 17:38

    From what I could tell by reading the WebSettings code, the cache configuration on WebSettings is only for HTML5 apps:

    http://www.grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/2.3.3_r1/android/webkit/WebSettings.java#181

提交回复
热议问题