I am running an Android app that implements the Kofax Mobile SDK. When I take a picture on an older device, such as a Samsung S3, an out of memory error occurs.
Applications running on API Level 11+ can have
android:largeHeap="true" in the
<application> element in the manifest to request a larger-than-normal heap size, and
getLargeMemoryClass() on ActivityManager will tell you how big that heap is.
In the Kofax Mobile Demo sample app, there is an example of how to set this parameter in the
application section, note the setting:
Level of Complexity
|Kofax Mobile SDK||all|