Hi,

You could try to retrieve the album by name, but this isn't
recommended since there are a lot of weird rules around the
programmatic album name (special characters are removed, if there is
already an album with the same name a number is appended, etc.)

So the only real bullet-proof way is to retrieve all of a user's
albums and loop through them all to see if the one you are looking for
exists already.

Cheers,
-Jeff

On Nov 6, 11:06 am, Silvia <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm using the picasa web album api for Java and I would know if it is
> possible to know if an album exists. I couldn't find in the
> developer's guide neither in the api anything. I would like to know if
> there exists something like:
> if(myAlbum.getTitle().getPlainText().equals("MyAlbumName").exists())
>
> Thanks!
--~--~---------~--~----~------------~-------~--~----~
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