如何获得Facebook的图片 [英] How to get facebook image

查看:143
本文介绍了如何获得Facebook的图片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用图形API,我得到的URL一个人的形象。现在,我想的图像保存到设备,保存在那里我已经保存的图像和SQL数据库,然后从SQL图片目录打电话,将其设置为一个ImageView的,

Using the Graph API I get the url for an Image of a person. Now I would like to save that Image to a device, save where I have saved that image to and SQL database and then call from that sql the picture directory and set it to an Imageview,

我应该怎么办呢?

(我一直在寻找的教程,但找不到任何)

(I have been looking for tutorials, but could not find any)

推荐答案

保存网址到数据库中。在显示图像的ImageView,得到URL的数据库,并使用毕加索图书馆展现给ImageView的。

Save the url into database. Before showing the image to imageView, get the url from database and show to imageview using Picasso Library.

这篇关于如何获得Facebook的图片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆