[android-developers] Re: Camera picture taking memory error

2012-11-14 Thread Emiel Mols
Bump. Similar issue here. I construct a custom backing buffer for preview frames, and would actually like to keep it even after the (higher resolution) picture is taken. Because there is also no Camera.removeCallbackBuffer function (could do this just before takePicture), the only 'work around'

[android-developers] Re: Camera picture taking memory error

2011-01-14 Thread Robert
Bumping again I have the same issue... Looking at the JNI-layer both the picturetaken and previewframe callbacks seem to end up running JNICameraContext::copyAndPost And that uses the size and buffer set by the call to addCallbackBuffer Setting a large enough buffer able to hold both pre

[android-developers] Re: Camera picture taking memory error

2010-12-18 Thread Stephen Lebed
Bumping this thread to see if anyone has an answer for this. Thanks, s On Dec 14, 2:14 pm, Stephen Lebed wrote: > In the app I'm working on, I'm using Camera.addCallbackBuffer and > Camera.setPreviewCallbackWithBuffer to control the camera preview. > BTW, this has been one of the best fixes in