You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by Biju Panicker <bi...@orbyo.com> on 2014/12/15 18:31:24 UTC
Cordova 3.0 - getPicture crashing in android
Hi,
I am using cordova3.0. navigator.camera.getPicture fails when reading a picture from the gallery. However it seems to be working when taking a picture from dropbox or drive.
Tried using various option values to ensure that the file is read as is, to avoid OOM errors. Nothing seems to be working.
quality: 100
destinationType: navigator.camera.DestinationType.FILE_URI,
sourceType: navigator.camera.PictureSourceType.PHOTOLIBRARY,
correctOrientation: false,
targetWidth: 1024,
targetHeight: 1024,
allowEdit:false
The issue happens from Samsung S3, where as it is working well with other devices, however intermittent error is happening.
Is this resolved in the later releases of Cordova? Please assist.
Thanks & Regards
Biju
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org
Re: Cordova 3.0 - getPicture crashing in android
Posted by Shazron <sh...@gmail.com>.
Hi,
This is the list to discuss development of Cordova itself. For your
situation, please file an issue at:
http://issues.apache.org/jira/browse/CB
... so it can be tracked and evaluated by the devs, and you can be notified.
Sign up here:
https://issues.apache.org/jira/secure/Signup!default.jspa
Thanks!
On Mon, Dec 15, 2014 at 12:31 PM, Biju Panicker <bi...@orbyo.com> wrote:
> Hi,
>
> I am using cordova3.0. navigator.camera.getPicture fails when reading a picture from the gallery. However it seems to be working when taking a picture from dropbox or drive.
>
> Tried using various option values to ensure that the file is read as is, to avoid OOM errors. Nothing seems to be working.
>
> quality: 100
> destinationType: navigator.camera.DestinationType.FILE_URI,
> sourceType: navigator.camera.PictureSourceType.PHOTOLIBRARY,
> correctOrientation: false,
> targetWidth: 1024,
> targetHeight: 1024,
> allowEdit:false
>
> The issue happens from Samsung S3, where as it is working well with other devices, however intermittent error is happening.
>
> Is this resolved in the later releases of Cordova? Please assist.
>
> Thanks & Regards
> Biju
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
> For additional commands, e-mail: dev-help@cordova.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org