I am new to Java and Android and I got a question.
I think the solution is maybe very easy but I couldn't solve it.

I created an application with a WebView the thing is I want that the webview enters username and password automatically so that the user is already logged in when he starts the application.
I googled it and found something like that but it does not work 

```
@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
    webView = (WebView) findViewById(R.id.webView1);
    webView.getSettings().setJavaScriptEnabled(true);
    webView.loadUrl("https://euterpe.webuntis.com/WebUntis/index.do#main");

webView.setWebViewClient(new WebViewClient ());

class MyWebViewClient extends WebViewClient {
@Override
public void onReceivedHttpAuthRequest(WebView view,
        HttpAuthHandler handler, String host, String realm) {

    handler.proceed("Username", "password");

}
}

```