Android / Java: Programmatically login into website with Android-App
问题 does somebody know a explicit way to programmatically login to a website in an Android-App ? Thanks in advance :) 回答1: Don't cmpletely understand what you want, but if you just need to login and see the response, you could use a webview, and parse through the html like how to get html content from a webview?. 回答2: this is an answer: web.loadUrl("javascript: {" + "document.getElementsByName('authid')[0].value = '" + ID + "';" + "document.getElementsByName('authpw')[0].value = '" + PASS + "';"