简体   繁体   中英

album ID in Picasa from Android?

This is batty! The Google GData Java client page says that GData doesn't support Android, and I should instead use the Google API Client Library . The Picasa sample for Android has some Picasa-specific stuff, but to get it you have to use Mercurial and build it yourself. But this new library bears little resemblance to the Picasa Web Albums Data API Developer's Guide .

So after much pain I finally was able to parse back an Atom feed of a list of my public albums. But the AlbumEntry (the one from the Mercurial source repository---not the one online, which supposedly doesn't work with Android) has no AlbumEntry.id to tell me how to then list the contents of the album!

Has anyone succeeded in working with Picasa from Android? Not in 2007---like, recently?

With regard to not having an ID to reference the album by- That's because that was the way of doing it in GData. To use the atom-based feed that the new sample you linked is using, you need to pull the edit link from the atom feed and reference it that way. This page has some details that'll help you out.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM