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.
任何人都可以帮助我实现 WebChromeClient 以使用 Kotlin 处理 webview 中的输入类型文件。我到处搜索,但找不到解决方案。
我假设你在你的 drawable 或资源文件夹中有一个文件,你试图在 webview 上呈现它。
使用 Android Studio 中的默认转换器,将代码转换为 Kotlin。
尝试从这里获得提示。
在 WebView 中使用本地图像渲染本地 HTML 文件