I provide user name and password in the standard way:
private class MyAuthenticator extends Authenticator {
protected PasswordAuthentication getPasswordAuthentication() {
return new PasswordAuthentication(userName, password.toCharArray());
}
}
installing the instance by:
Authenticator.setDefault(new MyAuthenticator());
And as I said already: The program works perfectly running on a Windows or a
Linux PC.
There must be something different with the Android environment, or the
java.net classes involved?
Thanks.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en