I have the exact same problem but then on my desktop environment. I
use Eclipse 3.5 running Java 6. I have also breifly tried Java 5 but
that did not help.

I have the following code from the getting started guide:
                        URL feedUrl = new URL("http://
picasaweb.google.com/data/feed/api/
user/default?kind=album");
                        UserFeed myUserFeed = service.getFeed(feedUrl,
UserFeed.class);
                        for (AlbumEntry myAlbum :
myUserFeed.getAlbumEntries()) {
 
System.out.println(myAlbum.getTitle().getPlainText());
                        }
When I run this I get nothing.
However when I change this to the following code:
                        URL feedUrl = new URL("http://
picasaweb.google.com/data/feed/api/
user/default?kind=album");
                        UserFeed myUserFeed = service.getFeed(feedUrl,
UserFeed.class);
                        for (GphotoEntry myAlbum :
myUserFeed.getEntries()) {
 
System.out.println(myAlbum.getTitle().getPlainText());
                        }
I get the names of all my albums...
When I then try and convert these GphotoEntries into AlbumEntries
using the following code (from one of the samples I go back to
nothing:
    List<GphotoEntry> entries = albumFeed.getEntries();
    List<CommentEntry> comments = new ArrayList<CommentEntry>();
    for (GphotoEntry entry : entries) {
      GphotoEntry adapted = entry.getAdaptedEntry();
      if (adapted instanceof CommentEntry) {
        comments.add((CommentEntry) adapted);
      }
    }

For some reason I am only able to retrieve GphotoEntries and none of
the specific ones.

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