is there any way to increase the length of the response that the
google server is sending in response to our query?

the problem is that i am retrieving and photos of PWA and in response
i am only getting the first photo of the album
and while retrieving albums i am only getting the first album amongst
all the albums uploaded..
here's the code..

retrieving photos:
private void getPhotos(String auth,String albumid)throws IOException
{
       try
       {System.out.println("Inside fn************");

       String s="http://picasaweb.google.com/data/feed/api/user/
userid/
albumid/"+albumid;
               URL url = new URL(s);
               StringBuffer postUrl = new StringBuffer();
               URLConnection connection = url.openConnection();
               //HttpURLConnection httpConnection =
(HttpURLConnection)
url.openConnection();
               BufferedReader reader = new BufferedReader(
               new InputStreamReader(connection.getInputStream()));
               String line;
               while ((line = reader.readLine()) != null) {
                       System.out.println(line);
               }
               reader.close();

       }catch(Exception e){
               e.printStackTrace();

       }
}

retrieving albums:
private void getAlbum(String username,String password)throws
IOException
   {
       try
       {System.out.println("Inside fn************");

               String s="http://picasaweb.google.com/data/feed/api/
user/"+username;
               URL url = new URL(s);
               System.out.println("Inside fn************");
               StringBuffer postUrl = new StringBuffer();

                       URLConnection connection =
url.openConnection();
                       System.out.println("Inside fn************");
                       BufferedReader reader = new BufferedReader(
                               new
InputStreamReader(connection.getInputStream()));
                       String line;
                       System.out.println("Inside fn************");
                       while ((line = reader.readLine()) != null) {
                               System.out.println(line);
                       }
                       reader.close();

       }catch(Exception e){
               e.printStackTrace();

       }
  }

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