Hi Jeff, I'd really like to build from source as I'm testing some code changes... is their any way to setup the annotations? I've tried annotation processing in eclipse and copying the keys from from the original google jar file into mine but not luck. Can you please help?
On Mar 5, 8:28 am, Jeff Fisher <[email protected]> wrote: > Are you using the pre-compiled JAR files or are you linking directly against > the Java source files? In the case of the latter if you do it in Eclipse it > will not have the proper annotations set up so the entries do not know what > kind they are. I recommend using the pre-built JARs. > > Cheers, > -Jeff > > On Tue, Mar 3, 2009 at 8:04 PM, anvii <[email protected]> wrote: > > > Hi all: > > I can not get a list of albums,but I can add an album. > > What is the problem? > > > import java.net.URL; > > import java.util.List; > > > import com.google.gdata.client.photos.*; > > import com.google.gdata.data.photos.*; > > > public class picasa { > > > public static void main(String[] args) { > > // TODO code application logic here > > try { > > PicasawebService myService = new PicasawebService > > ("exampleCo-exampleApp-1"); > > myService.setUserCredentials("[email protected]", "xxxx"); > > > URL feedUrl = new URL("http://picasaweb.google.com/data/ > > feed/api/user/info.anvii?kind=album<http://picasaweb.google.com/data/%0Afeed/api/user/info.anvii?kind=album> > > "); > > > UserFeed myUserFeed = myService.getFeed(feedUrl, UserFeed.class); > > List<AlbumEntry> myAlbums=myUserFeed.getAlbumEntries(); > > System.out.println(myAlbums.size());--->the answer is 0 > > > } catch (Exception e) { > > System.out.println(e.getMessage()); > > } > > } > > } --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
