• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Flickr Photosets list

Hi All,

I'm getting stuck at a point. I have to retrieve all the photosets created in a Flickr account. For this Im using following code snippet :


Code:
 private void addPhotoToPhotoSet() {
      try {
         String userID = auth.getUser().getId();
         System.out.println("user id : " + userID);
         System.out.println("FlickrDemoMobPhotoSets.addPhotoToPhotoSet()" + 
                        mFlickr.getPhotosetsInterface().getList(userID).getPhotosets().size()); 
      } catch (Exception e) {
         isExceptionCountered = true;
         e.printStackTrace();
      }

Here i'm printing the size of photosets. I'm getting 0 here. I have one photoset in my account. still im getting 0. Kindly give your support. Any suggestion would be highly appreciable.

Thanks.
 
Back
Top Bottom