cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-1826) correctOrientation when set to true crashes the app when loading Image
Date Mon, 24 Feb 2014 19:31:22 GMT

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

ASF subversion and git services commented on CB-1826:
-----------------------------------------------------

Commit f3a704b59dbe43af6c54912e05d2e2bfb1a4ebd8 in cordova-plugin-camera's branch refs/heads/dev
from [~agrieve]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-camera.git;h=f3a704b ]

CB-1826 Android: Guard against content provider not supplying orientation


> 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: Andrew Grieve
>              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 was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message