tempstr="/sdcard/MyGame/Picture/IMG_20140127_155545922.jpg";
Bitmap bm = null;
bm = BitmapFactory.decodeFile(tempstr);// 用于给指定的路径所指定的文件中解析,创建Bitmap对象
if (bm != null)
imageview.setImageBitmap(bm);
if (!bm.isRecycled())
{bm.recycle();}
诸位请看这部分代码,在AIDE中我的整个代码没有报错,但是运行后程序会因为这部分代码停止运行,求大神解答。。谢谢
