-
String path="//sdcard//DCIM//a31.jpg"; File file = new File(path); if(file.exists()){ Bitmap bm = BitmapFactory.decodeFile(path); pruductImg.setImageBitmap(bm); }
-
private ImageView pruductImg; pruductImg.setImageURI( Uri.fromFile(newFile(CommonParameter.getMyproduct().getmImg())) );