Android WebView save email and password?
<p>I need to save user login credentials for WebView in Android.</p>

<p>I have tried this, but with no luck.</p>

<pre><code>    WebView mWebview  = (WebView) v.findViewById(R.id.wv_spielplan);

    if(BuildConfig.VERSION_CODE &lt; 21){
        CookieManager.getInstance().setAcceptCookie(true);
    } else {
        CookieManager.getInstance().setAcceptThirdPartyCookies(mWebview, true);
    }
    CookieSyncManager.createInstance(getActivity());
    CookieSyncManager.getInstance().startSync();
</code></pre>