Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/200.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 当图像太多时,Webview渲染图像失败_Android_Webview - Fatal编程技术网

Android 当图像太多时,Webview渲染图像失败

Android 当图像太多时,Webview渲染图像失败,android,webview,Android,Webview,在我的应用程序中,当WebView加载的html包含太多图像时,某些图像可能会渲染失败,但相应的图像会成功下载 尝试启用DOM存储API WebView.getSettings().setDomStorageEnabled(true);

在我的应用程序中,当WebView加载的html包含太多图像时,某些图像可能会渲染失败,但相应的图像会成功下载


尝试启用DOM存储API

WebView.getSettings().setDomStorageEnabled(true);