android webview 中localStorage无效的解决方法

时间:2021-01-20 09:49:54
【文件属性】:
文件名称:android webview 中localStorage无效的解决方法
文件大小:27KB
文件格式:PDF
更新时间:2021-01-20 09:49:54
al AND android 我在 android里面 使用html5的 localStorage 为什么存不进去也读不出来呀? 网上搜了好多都没效果 代码如下: mainWebView = (WebView)this.findViewById(R.id.mainWebView);         WebSettings settings = mainWebView.getSettings();         settings.setJavaScriptEnabled(true);         settings.setAllowFileAccess(true);         settings.setData

网友评论