Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在使用来自谷歌图像的 setJavaScriptenabled(true) 时从 webview 保存图像?
基本上,您必须从<img src=""/>JavaScript 中的元素中捕获图像 URL,并将此值传递回您的代码。之后,您将执行单独的 (Java) 调用来捕获流,然后将其保存到 SD(或磁盘或内存)
<img src=""/>