当前位置: 代码迷 >> Android >> android createbit地图函数内存溢出,求解怎么进行处理out of memory溢出有关问题
  详细解决方案

android createbit地图函数内存溢出,求解怎么进行处理out of memory溢出有关问题

热度:41   发布时间:2016-04-28 00:18:45.0
android createbitmap函数内存溢出,求解如何进行处理out of memory溢出问题

android createbitmap函数内存溢出,求解如何进行处理out of memory溢出问题

android createbitmap函数内存溢出,求解如何进行处理out of memory溢出问题

android createbitmap函数内存溢出,求解如何进行处理out of memory溢出问题

局部核心代码:bitmap = Bitmap.createBitmap(mSize.x, mSize.y, Config.ARGB_8888); 				cacheBitmap = Bitmap.createBitmap(mSize.x, mSize.y, Config.ARGB_8888);  				cacheCanvas = new Canvas();				cacheCanvas.setBitmap(cacheBitmap);				cacheCanvas.drawBitmap(bitmap, 0, 0, null);				mSearchView.setImageBitmap(bitmap);

1楼r17171709昨天 17:13
用BitmapFactory.Option
  相关解决方案