我的应用程序使用 Facebook API 来获取朋友的个人资料图片只能在模拟器中运行,但是当我下载应用程序并在分离的设备上使用它时,无论我使用的是 WIFI、3G 还是 4G,个人资料图片都不会显示连接。这是我如何抓取要显示的图像。
profilePic = "http://graph.facebook.com/" + friendId + "/picture?type=large";
Drawable drawable = LoadImageFromWebOperations(profilePic);
friendImageView.setImageDrawable(drawable);