title: how to automatically login the website in webview?
body: <p>In my app I am having webview to load web pages Now I want to automatically login to the website loaded in the webview eg:Facebook.Help me to solve this.I am using Android Studio to develop app.
  This is my code.</p>
  
  <pre><code>public class MainActivity extends AppCompatActivity {
  EditText url;
  Button go;
  WebView webView;
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
      webView=(WebView)findViewById(R.id.wv);
      url=(EditText)findViewById(R.id.urlEdit);
      go=(Button)findViewById(R.id.goBut);
      webview.setWebViewClient(new WebViewClient());
      webView.getSettings().setJavaScriptEnabled(true);
      go.setOnClickListener(new View.OnClickListener() {
          @Override
          public void onClick(View view) {
              theWebsite=url.getText().toString();
              webView.loadUrl(theWebsite);
          }
      });
  </code></pre>