title: Share cookies between android webview control and browser
body: <p>How to share cookies between android webview control and browser.</p>
  
  <p>I see that I can put cookies to webview, but I dont know how to get them from browser.</p>
  
  <p>I tried few methods, but I never got exactly the same cookies as browser has.</p>
  
  <p>For example:</p>
  
  <pre><code>CookieSyncManager.createInstance(this);
  CookieSyncManager.getInstance().sync();
  CookieManager cookieManager = CookieManager.getInstance();
  String cookie = cookieManager.getCookie("http://m.website.com");
  </code></pre>