Hi, You'll have to dig the URL out of media:content, like
entry.getMediaContents().get(0).getUrl() Then just have Java fetch that URL for you. Cheers, -Jeff On Nov 19, 10:20 am, "Julien Mengelle" <[EMAIL PROTECTED]> wrote: > Thanks for the answer. > > It resolves my problem! > > I'm able to create an album, consult album/photo list, but i didn't found > yet how to download the photo itself ? > I tried to call getMediaContent(), so i could have got the stream, on my > PhotoEntry but it return null. > How to do it ? > > Thank you. > > - > Julien > > 2008/11/19 Jeff Fisher (Google) <[EMAIL PROTECTED]> > > > > > Hi, > > > I believe this is because of the Java client library's use of > > annotations. If you are directly compiling the library with Eclipse or > > another IDE, this is most likely not building the proper META-INF > > files that it needs. Please try building the library with ant or use > > the pre-built JAR files available in the gdata-samples download: > > >http://gdata-java-client.googlecode.com/files/gdata-samples.java-1.24... > > > Cheers, > > -Jeff > > > On Nov 19, 6:49 am, Julien Mengelle <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > i'm really new here, i started working with picasa API (Java) today. > > > > I'm currently doing some test before integrate it to my web > > > application, but i have some problems. > > > > I can connect (using setUserCredentials(login,password)), and send > > > request. No problem. > > > I have successfully created albums ( by the way : how can i make them > > > public ??), but when i try to request album list from the user > > > account, i always got 0 AlbumEntry, even when i create an album and > > > ask for the list. > > > > I'm using code like sample in developers guide : > >http://code.google.com/apis/picasaweb/developers_guide_java.html#Albums > > > > Do you have any tips for me ? > > > I really don't know what to do.. :( --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
