android BitmapFactory.decodeFile out of memory 崩溃

 BitmapFactory.Options options; options.inJustDecodeBounds = false; options.inPreferredConfig = Config.RGB_565; options.inDither = true;
内存占用情况好了很多。赞stackoverflow。

你可能感兴趣的:(android BitmapFactory.decodeFile out of memory 崩溃)