简体   繁体   English

Android中Picasa中的相册ID?

[英]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 . Google GData Java客户端页面说GData不支持Android,我应该改用Google API客户端库 The Picasa sample for Android has some Picasa-specific stuff, but to get it you have to use Mercurial and build it yourself. 适用于AndroidPicasa示例包含一些Picasa特定的内容,但是要获取它,您必须使用Mercurial并自行构建。 But this new library bears little resemblance to the Picasa Web Albums Data API Developer's Guide . 但是,这个新库与《 Picasa网络相册数据API开发人员指南》几乎没有相似之处。

So after much pain I finally was able to parse back an Atom feed of a list of my public albums. 因此,经过一番痛苦之后,我终于能够解析出我的公开相册列表的Atom供稿。 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! 但是AlbumEntry(来自Mercurial源库的一个-而不是在线的,据说不能与Android一起使用)没有AlbumEntry.id来告诉我如何列出相册的内容!

Has anyone succeeded in working with Picasa from Android? 有没有人成功通过Android使用Picasa? Not in 2007---like, recently? 不是在2007年-就像最近吗?

With regard to not having an ID to reference the album by- That's because that was the way of doing it in GData. 关于没有ID引用相册的原因-这是因为这是在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. 此页面包含一些详细信息,可以帮助您。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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