In OpenSocial-java-client android demo code:
I can get any information about a users' albums,(id,)
try {
Request request = AlbumsService.getAlbums();
album = client.send(request).getEntries();
but when I try to get all mediaitem in albums, I keep getting null
for(Album a: album){
String albumId = a.getId();
Log.i("album id is:",albumId);
try {
Request request =
MediaItemsService.getMediaItems(albumId);
mediaitem = client.send(request).getEntries();
Log.i("mediaitem size is:",mediaitem.size()+"");
the mediaitem size is 0, but my albums are not empty(1has 1 photo 1
has 3 photos).
--
You received this message because you are subscribed to the Google Groups
"orkut Developer Forum" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/opensocial-orkut?hl=en.