incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Glenn Lap (JIRA)" <>
Subject [jira] [Commented] (CB-415) Taking multiple pictures with the camera causes the app to crash
Date Thu, 11 Oct 2012 01:19:03 GMT


Glenn Lap commented on CB-415:

I can't seem to get around this problem with my app.  I have the exact error and description
of this issue.  It seems to work fine on my Galaxy Nexus (jelly bean), Galaxy Tab, and an
older phone running gingerbeard (Samsung Charge), but the company I am working for has deployed
the Moto Razr MAXX (ICS 4.0.4) and it just wont cooperate.  It gives that memory error (Out
of memory on a 31961104-byte allocation) after about 3 photo uploads using Cordova 2.1.  I
am thinking the Razr MAXX is the issue, but I don't have a work around.
thanks for any help you can spare,
> Taking multiple pictures with the camera causes the app to crash
> ----------------------------------------------------------------
>                 Key: CB-415
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.5.0
>            Reporter: Simon MacDonald
>            Assignee: Joe Bowser
>            Priority: Minor
>             Fix For: 2.0.0
> kzusy
> Hey,
> I've been working on an app that uses the camera.  After taking
> several pictures, 1 at a time (several calls to
>, the app crashes with a dalvikvm error
> "Out of memory on a 31961104-byte allocation".  This happens with
> android, but not iOS.  I have been testing with an iPad2 and an Asus
> Transformer Prime TF201 running Android 4.0.3.
> getPicture is called with the following options:
> {
>    quality : 50,
>    targetWidth : 100,
>    targetHeight : 100,
>    destinationType : Camera.DestinationType.FILE_URI,
>    sourceType : Camera.PictureSourceType.CAMERA,
>    allowEdit : false
> }
> I've tried lowering the quality to 5, but the app still crashes.  This
> also only happens with either getPicture or captureImage.  It doesn't
> happen with captureVideo or captureAudio.
> Any idea why this might be happening/how to fix it?
> Crash log:
> Thanks,
> kzusy

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message