title: How To Get Cookies From WebView?
body: <p>How To Get Cookies <a href="https://i.stack.imgur.com/MDogm.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MDogm.jpg" alt="enter image description here"></a></p>
  
  <p>the My Code, but Not From <code>WebView</code></p>
  
  <pre><code>CookieManager cookieManager = CookieManager.getInstance();
  cookieManager.setAcceptCookie(true);
  cookieManager.setCookie("http://xx.xxx.xxx.com","mid=GO ; Domain=.xxx.com");
  
  String cookie = cookieManager.getCookie("http://xx.xxx.xxx.com");
  
  Log.d("VOGA", "cookie ------&gt;"+cookie);
  w.getSettings().setJavaScriptEnabled(true);
  w.setWebViewClient(new WebViewClient());
  w.loadUrl("http://xx.xx.xxx.com");
  setContentView(w);
  </code></pre>