Android webview 自动填值和提交

webView.loadUrl("javascript: {" +            

"document.getElementById('username').value = '"+uname +"';" +            

 "document.getElementById('password').value = '"+password+"';" +            

"var frms = document.getElementsByName('loginForm');" +            

"frms[0].submit(); };");

你可能感兴趣的:(Android)