我的代码:为什么BitmapFactory.decodeFile返回null?
BitmapFactory.Options opt = new BitmapFactory.Options();
opt.inJustDecodeBounds = true;
Bitmap rotateBmp = BitmapFactory.decodeFile("/storage/sdcard0/FastBurstCamera/2014-09-15 05-24-07-461.jpg", opt);
文件/存储/ sdcard0/FastBurstCamera/2014年9月15日05-24-07-461.jpg存在,但rotateBmp是空的,为什么?
感谢您的好意,根据您的建议,我删除了“opt.inJustDecodeBounds = true;”,然后它就可以工作。再次感谢你! – 2014-09-23 11:57:46