Some additional info.... When I get the album feed using this code:
String albumUrl = API_PREFIX + username;
if( showall )
albumUrl = addParameter( albumUrl, "showall", null );
List<AlbumEntry> albums = new ArrayList<AlbumEntry>();
while( true ) {
UserFeed userFeed = getFeed(albumUrl, UserFeed.class);
List<GphotoEntry> entries = userFeed.getEntries();
for (GphotoEntry entry : entries) {
GphotoEntry adapted = entry.getAdaptedEntry();
if (adapted instanceof AlbumEntry) {
log.info( "Feed URL: "+ getLinkByRel(adapted.getLinks(),
Link.Rel.FEED));
albums.add((AlbumEntry) adapted);
}
}
Link nextLink = userFeed.getNextLink();
if( nextLink == null )
break;
albumUrl = nextLink.getHref();
}
return albums;
the feed link comes back fine. Then later on when I do the same thing using
a stored reference to the album, it fails with no rel links. Is there some
garbage collection thing going on here or some other change which means the
data behind the Album class is being cleared, and so shouldn't be stored
for any length of time?
--
You received this message because you are subscribed to the Google Groups
"Google Picasa Web Albums API" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-picasa-data-api.
For more options, visit https://groups.google.com/d/optout.