Still no luck. Using the following code:
try{
URL albumUrl = new
URL("http://picasaweb.google.com/data/feed/api/
user/"+account+"?kind=album");
UserFeed albumFeed = service.getFeed(albumUrl,
UserFeed.class);
List<GphotoEntry> entries = albumFeed.getEntries();
List<AlbumEntry> albums = new ArrayList<AlbumEntry>();
for (GphotoEntry entry : entries) {
System.out.println("Entry:
"+entry.getTitle().getPlainText());
GphotoEntry adapted = entry.getAdaptedEntry();
if (adapted instanceof AlbumEntry) {
System.out.println("\tIs album!");
}
}
}
catch(Exception e){
e.printStackTrace();
}
I get the following output:
Entry: Album X
Entry: Test album
--
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.