Hello. In the application, when you click on the button, select the images from the gallery. Each time you press a button, select one photo from the gallery, with a maximum you can select three images. Everything is okay until the third time when you select a large image (3000x2200), it will pour out. squeezing it this way:
bitmapArr[2] = Bitmap.createScaledBitmap(MediaStore.Images.Media.getBitmap(getContentResolver(), uri), 1300, 1000, false); What could be the problem?