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 09BCA1864A for ; Mon, 7 Mar 2016 19:31:41 +0000 (UTC) Received: (qmail 32428 invoked by uid 500); 7 Mar 2016 19:31:40 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 32400 invoked by uid 500); 7 Mar 2016 19:31:40 -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 32389 invoked by uid 99); 7 Mar 2016 19:31:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Mar 2016 19:31:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id ACC792C1F55 for ; Mon, 7 Mar 2016 19:31:40 +0000 (UTC) Date: Mon, 7 Mar 2016 19:31:40 +0000 (UTC) From: "Richard B Knoll (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-10721) getPicture takes at least 20 seconds to get me back to my app 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-10721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15183527#comment-15183527 ] Richard B Knoll commented on CB-10721: -------------------------------------- This sounds like it's probably tied to the camera options you are using. Certain camera options lead us to doing more image processing than others, which is likely to be causing the delay. It would be really helpful if you could post the javascript where you call {{getPicture()}} so that I can take a look at the options you are passing in and see if I can nail down the issue. Also, make sure you are not using the {{DATA_URL}} destination type. It causes a ton of memory overhead depending on the quality of the image and could totally be the cause of the delay. > getPicture takes at least 20 seconds to get me back to my app > ------------------------------------------------------------- > > Key: CB-10721 > URL: https://issues.apache.org/jira/browse/CB-10721 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Camera > Affects Versions: 2.1.0 > Environment: Android 5.1.0 > Reporter: Gregor > Labels: Android, triaged > > Using Cordova Camera plugin with function getPicture() takes a picture without any problem (when source is CAMERA). Default camera app opens, I take a photo, confirm it, then a black screen shows for around 20 seconds before I'm thrown back to my app with success callback. > Picking photo from library doesn't have this issue. > Samsung Galaxy S6 with Android 5.1.0. -- 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