Chris Ma
unread,Jul 13, 2010, 12:38:01 AM7/13/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to OpenSocial Client Libraries
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).
Can anyone tell me how to track the http request&response
information?
I have tried to use response.toString, get such infor
org.opensocial.Response@43dede18.