Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8F72C185BC for ; Wed, 24 Feb 2016 17:55:18 +0000 (UTC) Received: (qmail 27594 invoked by uid 500); 24 Feb 2016 17:55:18 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 27565 invoked by uid 500); 24 Feb 2016 17:55:18 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 27540 invoked by uid 99); 24 Feb 2016 17:55:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Feb 2016 17:55:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 2452D2C1F5B for ; Wed, 24 Feb 2016 17:55:18 +0000 (UTC) Date: Wed, 24 Feb 2016 17:55:18 +0000 (UTC) From: "Richard B Knoll (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (CB-10676) Cordova camera 2.1.0 getting error "Error retrieving image." with Cordova 6.0.0 on Android MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-10676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Richard B Knoll closed CB-10676. -------------------------------- Resolution: Not A Problem > Cordova camera 2.1.0 getting error "Error retrieving image." with Cordova 6.0.0 on Android > ------------------------------------------------------------------------------------------ > > Key: CB-10676 > URL: https://issues.apache.org/jira/browse/CB-10676 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Camera > Affects Versions: 2.1.0 > Environment: Android 5.1.1, Samsung Galaxy S6 > Reporter: Nicolas Bernier > Labels: android, wfc > > I want to use the Cordova Camera plugin (version 2.1.0) to get picture from the pictures gallery of my users. > I tested it on my Samsung Galaxy S6 with Android 5.1.1. I do not know yet if I get this error on other OS. > These are the options I use with the plugin: > {code:javascript} > var options = { > destinationType: Camera.DestinationType.FILE_URI, > sourceType: Camera.PictureSourceType.SAVEDPHOTOALBUM, > allowEdit: true, > encodingType: Camera.EncodingType.JPEG, > targetWidth: 400, > targetHeight: 400, > saveToPhotoAlbum: false > }; > {code} > However when I select a picture from my gallery, I immediately get the error "Error retrieving image." from the cordova camera plugin with no other indications. > If I use the version 1.2.0 of the plugin, I do not get the error and I am able to upload the picture afterwards. > I think it is a matter of permission but I have no idea what I should change to make the plugin works. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org