你既然得到文件的路径了,就可以通过BitmapFactory的decodeFile方法获取Bitmap了public static Bitmap decodeFile (String pathName)Added in API level 1 Decode a file path into a bitmap. If the specified file name is null, or cannot be decoded into a bitmap, the function returns null.
Decode a file path into a bitmap. If the specified file name is null, or cannot be decoded into a bitmap, the function returns null.
holder.iv.setImageBitmap(BitmapFactory.decodeFile( "http://192.168.6.121:8080/"+activity.getImageView().replace("\","/")));
你试下。