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/11/09 20:53:13 UTC

[jira] [Resolved] (CB-1826) correctOrientation when set to true crashes the app when loading Image

     [ https://issues.apache.org/jira/browse/CB-1826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Bowser resolved CB-1826.
----------------------------

    Resolution: Won't Fix

This is more like "Can't Fix".  Image manipulation should be moved off the device to somewhere else due to memory issues and the inability of Android to handle these images well with their Java API.
                
> correctOrientation when set to true crashes the app when loading Image
> ----------------------------------------------------------------------
>
>                 Key: CB-1826
>                 URL: https://issues.apache.org/jira/browse/CB-1826
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.2.0
>         Environment: Andriod 4.0.3 on Samsung s3, app built on phonegap 2.2.0
>            Reporter: Kiran Sai
>            Assignee: Joe Bowser
>              Labels: Andriod, correctOrientation, crash, phonegap
>         Attachments: LordGanesha.jpg, TestApp.apk
>
>
> set the flag correctOrientation to true. 
> take a portrait high resolution image
> application crashes with OutofMemory error
> Same happens when you load an image from gallery.
> I see the issue fixed with CB-999 but I see the same problem on 2.2.0
> =======================
> 	function galleryNoIssue(source) {
>       navigator.camera.getPicture(onPhotoURISuccess, onFail, { quality: 100, 
>         destinationType: destinationType.FILE_URI,
>         sourceType: source });
>     }
>     function galleryIssue(source) {
>       navigator.camera.getPicture(onPhotoURISuccess, onFail, { quality: 100, 
>         destinationType: destinationType.FILE_URI,
>         sourceType: source,
> 		correctOrientation : true });
>     }
> ===========================

--
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