You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Simon MacDonald (JIRA)" <ji...@apache.org> on 2012/07/06 18:36:33 UTC
[jira] [Created] (CB-1014) Out of Memory error when getting image
from photo library
Simon MacDonald created CB-1014:
-----------------------------------
Summary: Out of Memory error when getting image from photo library
Key: CB-1014
URL: https://issues.apache.org/jira/browse/CB-1014
Project: Apache Cordova
Issue Type: Bug
Components: Android
Affects Versions: 1.9.0
Reporter: Simon MacDonald
Assignee: Simon MacDonald
Fix For: 2.0.0
My settings:
quality: 100,
destinationType: navigator.camera.DestinationType.FILE_URI,
sourceType: source,
encodingType: navigator.camera.EncodingType.JPEG
On success, I put the imageURI to another variable, and then I have another button to send the image.
It crashes after choosing the picture, so I think it doesn't have anything to do with the sending etc.
http://pastebin.com/4LBNGxdz
This is my full code at the moment.
I pasted the whole LogCat error log there.
http://pastebin.com/xmR7Lurx
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-1014) Out of Memory error when getting image
from photo library
Posted by "Simon MacDonald (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Simon MacDonald resolved CB-1014.
---------------------------------
Resolution: Fixed
Like when you take a picture from the camera I've put in a special case that doesn't load the image into a bitmap if it is not required.
> Out of Memory error when getting image from photo library
> ---------------------------------------------------------
>
> Key: CB-1014
> URL: https://issues.apache.org/jira/browse/CB-1014
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 1.9.0
> Reporter: Simon MacDonald
> Assignee: Simon MacDonald
> Fix For: 2.0.0
>
>
> My settings:
> quality: 100,
> destinationType: navigator.camera.DestinationType.FILE_URI,
> sourceType: source,
> encodingType: navigator.camera.EncodingType.JPEG
> On success, I put the imageURI to another variable, and then I have another button to send the image.
> It crashes after choosing the picture, so I think it doesn't have anything to do with the sending etc.
> http://pastebin.com/4LBNGxdz
> This is my full code at the moment.
> I pasted the whole LogCat error log there.
> http://pastebin.com/xmR7Lurx
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira