Application restarting after selecting an Image from photo library on Android

Hi,

On Android devices, opening the photo library to select an image sometimes the app is restarted.

I have determined that this happens only when I select a large image file, such as a photo taken with the camera, but won’t happen if I select a smaller image such as an Instagram photo. I believe that the device runs low on memory and the system terminates my app while I am on the photo library, and for this when I return the app starts over.

Has anyone experienced the same problem? Am I correct about the low memory being the reason for this? Is there any solution?

Thanks for your help

Ernest

Do you have the largeHeap setting enabled? See:

http://docs.coronalabs.com/guide/distribution/buildSettings/index.html#large-heap

I don’t know if that will help or not.  I know we are chasing a bug involving a memory leak in the Android libraries that work with the Camera activity.

Rob

Do you have the largeHeap setting enabled? See:

http://docs.coronalabs.com/guide/distribution/buildSettings/index.html#large-heap

I don’t know if that will help or not.  I know we are chasing a bug involving a memory leak in the Android libraries that work with the Camera activity.

Rob