How to move webView cache to SD?

后端 未结 2 1496
囚心锁ツ
囚心锁ツ 2021-01-12 23:21

I\'ve seen some apps like dolphin browser (not the HD version, the normal one) utilizing a cache-to-sd for webview but i can\'t seem to figure out how to do this, does anyon

2条回答
  •  有刺的猬
    2021-01-12 23:45

    Well, the WebSettings object has a number of set...Path() methods. It is unclear if any of them are for the actual cache. There is also the CacheManager object, which has a bunch of static methods related to the cache, but no obvious way to change the cache location.

提交回复
热议问题