2011-01-26 57 views

回答

0

我想你可以做這樣的事情: -

URL baseSearchUrl = new URL("yourPicasaURL"); 

Query myQuery = new Query(baseSearchUrl); 
myQuery.setStringCustomParameter("kind", "photo"); 
myQuery.setMaxResults(10); 
myQuery.setFullTextQuery("hello"); // search photo that has the word "hello" 

AlbumFeed searchResultsFeed = myService.query(myQuery, AlbumFeed.class); 

for (PhotoEntry photo : searchResultsFeed.getPhotoEntries()) { 
    System.out.println(photo.getTitle().getPlainText()); 
} 
相關問題