Android 将图像从dropbox加载到my Imageview

Android 将图像从dropbox加载到my Imageview,android,Android,我正在尝试将dropbox中的图像加载到Imageview中。 我正在获取图像的路径 storage/sdcard0/android/data/com.dropbox.android/files/scratch/camera%20uploads/2012-11-13%2020.22.13.jpg 但是,当我将FileInputStream连接到此路径时,它会给出FileNotFoundException BitmapFactory.decodeFile(filePath,options);

我正在尝试将dropbox中的图像加载到Imageview中。 我正在获取图像的路径

storage/sdcard0/android/data/com.dropbox.android/files/scratch/camera%20uploads/2012-11-13%2020.22.13.jpg
但是,当我将FileInputStream连接到此路径时,它会给出FileNotFoundException

BitmapFactory.decodeFile(filePath,options);
没有显示图像

我无法从中创建位图以显示在我的imageview中。请更新如何将此图像读取到我的imageview中
谢谢

尝试这样编写Uri:

Picasso.with(yourcontext)
 .load("file:// + (your path here)")
 .resize(50, 50)
 .centerCrop()
 .into(imageView)
“文件://+(您在此处的路径)”

你可以使用毕加索轻松地加载图像

像这样:

Picasso.with(yourcontext)
 .load("file:// + (your path here)")
 .resize(50, 50)
 .centerCrop()
 .into(imageView)
如果您尝试不使用“file://”,但仍然使用毕加索,会发生什么?