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);
}
}
}