Hi,

I have set below code before calling url for http basic authentication
but it is not working.

Authenticator.setDefault(new Authenticator(){
                    protected PasswordAuthentication
getPasswordAuthentication() {
                        return new
PasswordAuthentication("admin","admin".toCharArray());
                    }});

Can someone quote working code of http basic authentication?

Regards,
Nomesh

-- 
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

Reply via email to