Android查询(Aquery)图片下载

时间:2015-11-20 16:35:02

标签: android

无法在图库中找到从手机下载的图像。

但下载成功了。

似乎无法识别图像。

String url = "imageURL";        
File ext = Environment.getExternalStorageDirectory();
File target = new File(ext, "/photo.jpg");        

aq.progress(dialog).download(url, target, new AjaxCallback<File>(){

public void callback(String url, File file, AjaxStatus status) {

if(file != null){

}else{

}

});
}

0 个答案:

没有答案