I have an app that can among others zoom images using chris bane's PhotoView.
When i load large images i get "OutOfMemoryError"
When i add this
<application ... android:largeHeap="true">
to AndroidManifest.xml
I get a more specific error message with my android-4.4 device
Bitmap too large to be uploaded into a texture (7087x1022, max=4096x4096)
My question: is there an api (or something else) that tells me that my current android device has a limit of 4096x4096 ?