Я очень благодарен Вам за оказанную мне помощь в устранении блокирования моих фотографий в альбоме!

С уважением, Валентин Долженко.

09.09.2011 12:38, Meet The Sun пишет:
I found the solution. Place the following code before PicasawebService
instantiation, it's better to be run once time only:

                System.getProperties().put("proxySet", "true");
                System.getProperties().put("proxyHost", host);
                System.getProperties().put("proxyPort", port);

                Authenticator.setDefault(new Authenticator() {
                        @Override
                        protected PasswordAuthentication 
getPasswordAuthentication() {
                                return new PasswordAuthentication(username,
password.toCharArray());
                        }
                });

where username and password are for proxy.


--
You received this message because you are subscribed to the Google Groups "Google 
Picasa Web Albums API" 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/google-picasa-data-api?hl=en.

Reply via email to