-1
我想從Facebook獲得的圖像,並上傳在服務器上,但我無法得到的圖像...我怎樣才能做到這一點?`如何從Facebook獲取圖片並在服務器上上傳?
try {
String imageURL="http://graph.facebook.com/"+ userFbId+ "/picture?type=large";
URL image_value = new URL(imageURL);
try {
bm270 = BitmapFactory.decodeStream(image_value.openConnection().getInputStream());
} catch (IOException e) {
e.printStackTrace();
}
//userPicture.setImageBitmap(bm270);
} catch (MalformedURLException e) {
e.printStackTrace();
}
使用滑翔或Passico或一般圖片下載器,幫助您加載圖像。 –
我對此沒有任何意見......請你通過代碼解釋一下嗎? –
我認爲沒有人能回答我的問題 –