You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2012/09/05 22:25:07 UTC

[jira] [Commented] (CB-1142) Cordova 1.9.0 crashing when taking several pictures

    [ https://issues.apache.org/jira/browse/CB-1142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13449090#comment-13449090 ] 

Joe Bowser commented on CB-1142:
--------------------------------

@Rainer Are you sure this is the same issue? I'm going to test the original on the LG Optimus LE and see if I can reproduce the original problem, but an alert has no bearing on whether the memory is being handled correctly or not.  I suspect that you have a different bug.
                
> Cordova 1.9.0 crashing when taking several pictures
> ---------------------------------------------------
>
>                 Key: CB-1142
>                 URL: https://issues.apache.org/jira/browse/CB-1142
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.9.0
>         Environment: Mobile: LG L3 with Android 4.0.3
> Using PhoneGap 1.9.0
>            Reporter: Alex
>            Assignee: Joe Bowser
>            Priority: Minor
>
> Althought I've seen CB910 is fixed in 1.9.0, it's still ocurring to me.
> Using this function:
> navigator.camera.getPicture(onPhotoDataSuccess, onFail,
> { quality: 80, destinationType: destinationType.FILE_URI, encodingType: navigator.camera.EncodingType.JPEG, mediaType: 0, targetWidth: 1024, targetHeight: 768, correctOrientation: false }
> );
> Taking the first picture gives no problem. After second photo, logcat gives this:
> http://pastebin.com/WJ2KTBh4
> and app is closed.
> I'm using save to library, no orientation, slow resolution, slow quality ...
> I'm trying also with quality 100 (avoiding compression) but still crashing
> I also tried a patch Simon MacDonald  proposed in his blog post 
> http://simonmacdonald.blogspot.com.es/2012/07/change-to-camera-code-in-phonegap-190.html

--
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: http://www.atlassian.com/software/jira