Added just 7 pictures.
java.lang.OutOfMemoryError: Failed to allocate a 197210232 byte allocation
197 million bytes for 7 pictures = about 28 MB per picture, which suggests the pictures have not (yet) been compressed using JPEG.
Doing that should reduce the sizes by about 90% (or more, if you decrease the quality factor). Things are much more managable at those sizes. Perhaps see if you can get the images after they've been saved to storage by the camera app - however large those picture files are, they are at about the best resolution etc that you're going to get, and any image data larger than that isn't going to contain more actual non-hallucinatory detail.
TBH most consumer digital camera photos can be reduced to half their original dimensions ie reduce number of pixels (image file size) by 75%, without noticeable loss of quality or detail, because the image sensors are returning separate 8-bit red, green
or blue pixels, not composite 24-bit red, green
and blue pixels. Although that reasoning might be hard to sell to your customers, and it could be better (simpler) to live with needlessly-larger image files than have your customers thinking you're trying to bilk them.