有没有大神指导webview的localstorage会保存在哪个地方啊,我是这么写的
String path= Environment.getExternalStorageDirectory().getPath();
webview.getSettings().setJavaScriptEnabled(true);
webview.getSettings().setDomStorageEnabled(true);//重点
// String appCachePath = getApplicationContext().getCacheDir().getAbsolutePath();
Log.e("info",path);
webview.getSettings().setAppCachePath(path);
webview.getSettings().setAllowFileAccess(true);
webview.getSettings().setAppCacheEnabled(true);
Android localstorage
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-