title: Adding CookieManager to android Childbrowser
body: <p>I am trying to get local cookies (file://) to work on android 3.1+
  within ChildBrowser. I found a blog response talking about this
  specific issue and how to remedy it with Cookie Manager. I can't
  figure out where in the plugin to put the code. Has anyone
  successfully implemented this?</p>
  
  <hr>
  
  <p>Comment Below from <a href="http://code.google.com/p/android/issues/detail?id=3739" rel="nofollow">http://code.google.com/p/android/issues/detail?id=3739</a></p>
  
  <p>Comment 16 by edtechk...@gmail.com, Feb 1, 2012
  I got this thing working, for Android 2.2, javascript's
  document.cookie works fine, just make sure that in your
  Webview...javascript is enabled like so:</p>
  
  <pre><code>yourWebViewVariable.getSettings().setJavaScriptEnabled(true);
  </code></pre>
  
  <p>for Android 3.1 just add this to your java file onLoadInit:</p>
  
  <pre><code>CookieManager.setAcceptFileSchemeCookies(true);   //This is the line that specifically makes it work so the other lines is optional
  
  CookieManager cookieManager = CookieManager.getInstance();
  cookieManager.setAcceptCookie(true);
  cookieManager.acceptCookie();
  </code></pre>