Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 758F41736D for ; Tue, 31 Mar 2015 21:23:40 +0000 (UTC) Received: (qmail 8463 invoked by uid 500); 31 Mar 2015 21:23:37 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 8411 invoked by uid 500); 31 Mar 2015 21:23:37 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 8397 invoked by uid 99); 31 Mar 2015 21:23:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Mar 2015 21:23:36 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of raymondcamden@gmail.com designates 209.85.216.173 as permitted sender) Received: from [209.85.216.173] (HELO mail-qc0-f173.google.com) (209.85.216.173) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Mar 2015 21:23:32 +0000 Received: by qcrf4 with SMTP id f4so13047562qcr.0 for ; Tue, 31 Mar 2015 14:22:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=o7sWVMcT7KMaQCbFY/hk/GSAKeAstsGepitnIoAZymY=; b=iVCxsIJOOM6JaYLbUhgQq0Vh8chDp6KIgeFBJO1jZmOGU61GQTku5572Cf35h29IDG WxvRg+8t7n3VaTXQc9diIMp+HlvpcilJJcDiZvskFWpvX74pKxWS5Rl4R0oMZtnx+LdI eD6jN+0K5fAkro4yxLlp/7ral/HSdqrC8yL/wotl0o5/5bt3OT/XHjK2JS3gOZLyApih AIKk5L+wu9mEgZUcy2oujMKuuQ+ZLtGQw6vCDyDOX+1B58eblKeevUrE4exgbBmE5VT+ WZVOpcIutROKAquGcw8YfjukndpxExyLs68ZF3nM+e75YSfpVtq4oCpB7cZhQa1XvKaZ oR8Q== MIME-Version: 1.0 X-Received: by 10.55.24.96 with SMTP id j93mr80967737qkh.88.1427836947570; Tue, 31 Mar 2015 14:22:27 -0700 (PDT) Received: by 10.96.10.1 with HTTP; Tue, 31 Mar 2015 14:22:27 -0700 (PDT) In-Reply-To: References: Date: Tue, 31 Mar 2015 16:22:27 -0500 Message-ID: Subject: Re: Camera: When was Crop added and why? From: Raymond Camden To: dev@cordova.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org I'm confused. The docs say allowEdit is ignored for Android (and every other platform but iOS I believe). Are you saying allowEdit does something for Android? On Tue, Mar 31, 2015 at 4:15 PM, Jesse wrote: > To be correct, it is not disabled anywhere, it was previously implemented > for iOS only. > The iOS native camera/capture view has an additional boolean property to > allow the user to crop+pan a photo in place before returning to the app. > This was exposed in the cordova camera api on iOS only. In like 2011. > > More recently ( last year [1] ) the same feature landed in Android, > however, it is not exactly the same thing. > On Android, there is no guarantee that the Crop-Intent exists, in which > case it doesn't matter if the cordova-camera getPicture method was called > with allowEdit or not. Also, on some devices, there are multiple apps > providing a Crop-Intent, so the user will have to choose one. > > There are tests for it, but of course, they are manual ... > Should we update the docs and claim Android support for it, or does it ha= ve > usability/implementation issues that make us not want it? > > > [1] https://github.com/apache/cordova-plugin-camera/pull/12 > > > > > > @purplecabbage > risingj.com > > On Tue, Mar 31, 2015 at 1:56 PM, Raymond Camden > wrote: > >> From what I could see, every platform - but iOS - has it disabled. >> (imo, when a feature is ONE platform only, it should really be called >> out earlier in the docs.) Going to make a demo now cuz I want to see >> too. >> >> On Tue, Mar 31, 2015 at 3:06 PM, Joe Bowser wrote: >> > What does allowEdit do? Does it crop across devices? The problem is th= at >> > this is super vague and doesn't make any sense. Edit can mean anything >> from >> > a file permission to "Open Photoshop Mobile". If there's a thread whe= re >> we >> > decided on it, that'd be cool, but right now it smells like an >> undocumented >> > feature. >> > >> > On Tue, Mar 31, 2015, 11:18 AM Shazron wrote: >> > >> >> Isn't this just allowEdit? >> >> https://github.com/apache/cordova-plugin-camera/pulls? >> >> utf8=3D=E2=9C=93&q=3Dis%3Apr+is%3Aclosed+crop+ >> >> < >> https://github.com/apache/cordova-plugin-camera/pulls?utf8=3D%E2%9C%93&q= =3Dis%3Apr+is%3Aclosed+crop+ >> > >> >> >> >> On Tue, Mar 31, 2015 at 10:38 AM, Joe Bowser wrot= e: >> >> > Hey >> >> > >> >> > I'm working on Camera plugin issues in JIRA, and I noticed that we >> added >> >> > Crop to the Camera plugin. I'm wondering when this was done, and >> where >> >> the >> >> > JIRA issue or discussion of adding this feature took place. I'm >> pretty >> >> > sure this feature wasn't added properly to Android, since it seems = to >> >> > interrupt how the camera works pretty substantially. >> >> > >> >> > Can anyone direct me to where any of this took place so that I can >> read >> >> the >> >> > justification as to why we added it? If it doesn't exist, I'm >> probably >> >> > going to create a JIRA issue for putting it in properly, since I'm >> sure >> >> > some users are expecting it. >> >> > >> >> > Joe >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org >> >> For additional commands, e-mail: dev-help@cordova.apache.org >> >> >> >> >> >> >> >> -- >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D >> Raymond Camden, Developer Advocate for MobileFirst at IBM >> >> Email : raymondcamden@gmail.com >> Blog : www.raymondcamden.com >> Twitter: raymondcamden >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org >> For additional commands, e-mail: dev-help@cordova.apache.org >> >> --=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Raymond Camden, Developer Advocate for MobileFirst at IBM Email : raymondcamden@gmail.com Blog : www.raymondcamden.com Twitter: raymondcamden --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org For additional commands, e-mail: dev-help@cordova.apache.org