您的位置:首页 > 移动开发 > Android开发

android BitmapFactory.decodeFile out of memory 崩溃

2013-12-22 16:06 423 查看
BitmapFactory.Options options;
options.inJustDecodeBounds = false;
options.inPreferredConfig = Config.RGB_565;
options.inDither = true;

内存占用情况好了很多。赞stackoverflow。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐