You need to add &showall to the url. Search the forum (or google) for examples.
On Mon, 11 May 2015 17:05 Ankit Bhurat <[email protected]> wrote: > Hello > > I have this following code: > > public List<AlbumEntry> getAlbums(String userId) throws IOException, > ServiceException { > Log.d(TAG, "getAlbums called for userId " + userId) ; > String albumUrl = API_PREFIX + userId + "?kind=album"; > UserFeed userFeed = getFeed(albumUrl, UserFeed.class); > > List<AlbumEntry> picasaAlbums = new ArrayList<AlbumEntry>(); > > picasaAlbums = userFeed.getAlbumEntries(); > > List<GphotoEntry> entries = userFeed.getEntries(); > //List<AlbumEntry> albums = new ArrayList<AlbumEntry>(); > for (GphotoEntry entry : entries) { > AlbumEntry ae = new AlbumEntry(entry); > > Log.d(TAG, "Album Name: ae.getName(): " + ae.getName() ); > > // Keep only "InstantUpload" album > if (ae.getName().equals("InstantUpload")) { > picasaAlbums.add(ae); > } > } > > return picasaAlbums; > } > > public List<MediaEntry> getMedia(AlbumEntry album) throws IOException, > ServiceException{ > Log.d(TAG, "getMedia called for album " + album.getName()); > > AlbumFeed feed = album.getFeed(); > > List<MediaEntry> mediaList = new ArrayList<MediaEntry>(); > for (GphotoEntry entry : feed.getEntries()) { > PhotoEntry pe = new PhotoEntry(entry); > > mediaList.add(pe); > > } > > Log.d(TAG, "album: " + album.getName() + " mediaList: " + > mediaList.size() ); > > return mediaList; > } > > Now I am getting only 1000 (1K) photos and no more. Can you someone please > highlight what I am missing? > > Thanks > Ankit > > -- > You received this message because you are subscribed to the Google Groups > "Google Picasa Web Albums API" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to > [email protected]. > Visit this group at http://groups.google.com/group/google-picasa-data-api. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Google Picasa Web Albums API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-picasa-data-api. For more options, visit https://groups.google.com/d/optout.
