If we work with large images (bitmaps) we will hit a wall eventually in the size the image is allowed to be (in order to be displayed). I wondered if anyone knows where this limit is? There is many factors in this, the maximum heap size of the phone etc.
Also is there any workaround to handling large images if you want to display them and make them interact-able?
If you already have decoded image data, you can store them in file on storage
and then mmap this buffer.
Then you can create sub-images (tiles) over this buffer via createBitmap function
MMapped memory areas do not count agains heap, are not subject for garbage collection
and are handled by paging subsystem bypassing usual file operations.