1 message in com.googlegroups.google-picasa-data-apiI have a problem with Picasa API. Can...
FromSent OnAttachments
Kay08 Dec 2007 21:35 
Subject:I have a problem with Picasa API. Can anyone help?
From:Kay (CU.Z@gmail.com)
Date:12/08/2007 09:35:18 PM
List:com.googlegroups.google-picasa-data-api

Below are the program I have write for searching pictures with keywords "Pteranodon". But all the pictures I get have size "null", timestamp "null". Can anyone help me with this?

public class test {

public static void main(String args[]) { try{ List<PhotoEntry> photos; PicasawebService myService = new PicasawebService("TieOne"); String url = "http://picasaweb.google.com/data/feed/api/user/ CU.ZOKX?kind=photo&q=Pteranodon";

URL albumAndPhotosUrl = new URL(url); AlbumFeed albumFeed = myService.getFeed(albumAndPhotosUrl, AlbumFeed.class); photos = albumFeed.getPhotoEntries(); System.out.println(photos.size()); for(int i=0; i<photos.size();i++) {

System.out.println(photos.get(i).getSize()); } } catch(Exception e) { System.out.println(e); } } }