【发布时间】:2015-08-03 14:14:14
【问题描述】:
在我的 android 应用程序中,我想显示来自 https://graph.facebook.com/photoAlbumId/photos 的所有照片,其中 photoAlbumId 是用户 fb。名字。
我通常使用
获取用户个人资料图片 ImageView user_picture;
userpicture=(ImageView)findViewById(R.id.userpicture);
URL img_value = null;
img_value = new URL("http://graph.facebook.com/"+id+"/picture?type=large");
Bitmap mIcon1 = BitmapFactory.decodeStream(img_value.openConnection().getInputStream());
userpicture.setImageBitmap(mIcon1);
如何获取所有图像,例如 https://graph.facebook.com/zoo/photos 并在 android 活动中显示它们 ListView?
我想让它看起来像:here
【问题讨论】:
标签: android json android-layout facebook-graph-api facebook-android-sdk