在我的Android應用中,我想顯示https://graph.facebook.com/photoAlbumId/photos
的所有照片,其中photoAlbumId
是用戶fb。名稱。如何在Android應用中顯示Facebook照片作爲廚房
我通常會得到用戶個人資料的圖片使用
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
雖然此鏈接可以回答這個問題,最好是在這裏有答案的主要部件,並提供鏈接以供參考。如果鏈接頁面更改,則僅鏈接答案可能會失效。 –
我做了一點改變 可以嗎? – depraved