title: Android - Making Webview DomStorage persistant after app closed
body: <p>I'm facing a huge problem developing an Android app which use a Webview to display datas. The website i'm using in the webview use localStorage API of HTML 5.</p>
  
  <p>To enable this feature i've set the webview setting like this :</p>
  
  <pre><code>webview.getSettings().setDomStorageEnabled(true);
  webview.getSettings().setJavaScriptEnabled(true);
  </code></pre>
  
  <p>So the localStorage API works but when I close the app (and kill the process), localStorage is completly erased and when I reload it, all my datas are lost.</p>
  
  <p>My question is simple : How to make DomStorage of a Webview persistant even when we close the app ?</p>
  
  <p>Thank you for all you future answers.</p>