I am in the process of creating a simple webapp for which the user wouldn\'t have to input his credentials each time he opens the website (no possibility to save the passwor
I recommand you to create a javascript function like :
function setCredentials(id, pass)
{
document.getElementById('zonePwd').value=pass;
document.getElementById('zoneId').value=id;
GInterface.traiterEvenementValidation();
}
And then from your app code
String id = "myid"; //Get val from the dialog
String pass = "mypass"; //Get val from the dialog
webview.loadUrl("javascript:setCredentials('"+id+"','"+pass+"')");
Hope it helps ;)