显示的图片可超过1M
且不会出现OOM
ImageView jpgView = (ImageView)findViewById(R.id.jpgview); String myJpgPath = "/sdcard/DSC_0001.JPG"; BitmapFactory.Options options = new BitmapFactory.Options(); options.inSampleSize = 2; Bitmap bm = BitmapFactory.decodeFile(myJpgPath, options); jpgView.setImageBitmap(bm);