android 中 webview 怎么用 localStorage?

http://www.cnblogs.com/yuzhongwusan/p/4211681.html

mWebView.getSettings().setDomStorageEnabled(true);   
mWebView.getSettings().setAppCacheMaxSize(1024*1024*8);  
String appCachePath = getApplicationContext().getCacheDir().getAbsolutePath();  
mWebView.getSettings().setAppCachePath(appCachePath);  
mWebView.getSettings().setAllowFileAccess(true);  

mWebView.getSettings().setAppCacheEnabled(true); 
原文地址:https://www.cnblogs.com/stono/p/4340233.html