[Solved] OutOfMemoryException when using large images
[ad_1] use this : BitmapFactory.Options options=new BitmapFactory.Options(); options.inSampleSize = 8; Bitmap preview_bitmap=BitmapFactory.decodeStream(is,null,options); for more detail see this link link 1 [ad_2] solved OutOfMemoryException when using large images