1

I am using your library which is very helpful to create custom camera but I am facing issue after taking multiple images.I have also checked your demos,in that image orientation is proper after taking pic as you are displaying image in new activity.I am using takeSimplePicture() method from your demo to capture image.

In my case I have to show all captured images on same screen but only first image set in correct orientation all other are getting rotate in landscape mode.I am using Nexus 5(5.1.1) device.and also sharing screen shoot for the same.

ScreenShoot:

Check Top images list from below screen shoot only first image is in Portrait and all other are in landscape.I am taking all pics in portrait mode.

enter image description here

Waiting for your suggestion.Thanks.

1 Answers1

0

Quoting myself from the issue that you filed:

My guess is that you do not have enough memory, and the image-rotation task is not being run on the second and subsequent pictures. If you have not done so already, add android:largeHeap="true" to your manifest and see if that helps.

Beyond that, no further work is being done on this library. My replacement library does not handle changing the orientation yet, but when it does, it will use C/C++ code, to avoid Dalvik heap limit issues.

Community
  • 1
  • 1
CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491
  • I have already added android:largeHeap="true" in my manifest file but still the result same,lets me see what i can do to handle this issue.Thanks. –  Sep 17 '15 at 04:45