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 633ED18A64 for ; Thu, 9 Jul 2015 06:25:58 +0000 (UTC) Received: (qmail 40950 invoked by uid 500); 9 Jul 2015 06:25:58 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 40906 invoked by uid 500); 9 Jul 2015 06:25:58 -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 40894 invoked by uid 99); 9 Jul 2015 06:25:57 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jul 2015 06:25:57 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 70DB1181A36 for ; Thu, 9 Jul 2015 06:25:57 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.88 X-Spam-Level: ** X-Spam-Status: No, score=2.88 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id LQ16MnU6XUuu for ; Thu, 9 Jul 2015 06:25:56 +0000 (UTC) Received: from mail-qk0-f173.google.com (mail-qk0-f173.google.com [209.85.220.173]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id CA6BE20F43 for ; Thu, 9 Jul 2015 06:25:55 +0000 (UTC) Received: by qkei195 with SMTP id i195so179799263qke.3 for ; Wed, 08 Jul 2015 23:25:55 -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; bh=d1cqXghonx6EFp5GM8flwelpmFQlasWnBzevEbv2kVE=; b=DO5LOdKwWhsstyq3+igThWgZQ9mdCvYqKHjyUB7U+Mtk5cqCbYKw7eE9XiS2CuPGNp 2QyXuWSskCEGLX4ihh4s+BkOQIU4lZ9WY0yOuzKmhhb/CScHd+xBANPfmhv2uyZhukvx r85D+hX0w+8x2iAj+U//BxM03tpyNh1HqRqD0ooovAizcVTKVUhkQo31OxavzSjRBz30 wjFaE5em0vuZgwcmfg6VJcryT+qXkwj9f/uTxGirN/gokDBSqxNYBMlshf2RBcEUx/Oh Bo0UwvaMpCVHE8nPYNBDPHMNK4yA8z34S7j9iHCZIZvTAW0bdd59y7JF24AXew3XR/k9 ACNg== MIME-Version: 1.0 X-Received: by 10.55.15.129 with SMTP id 1mr21969965qkp.29.1436423155096; Wed, 08 Jul 2015 23:25:55 -0700 (PDT) Received: by 10.140.23.101 with HTTP; Wed, 8 Jul 2015 23:25:55 -0700 (PDT) In-Reply-To: References: Date: Thu, 9 Jul 2015 08:25:55 +0200 Message-ID: Subject: Re: [Android] Camera Plugin Request From: julio cesar sanchez To: "dev@cordova.apache.org" Content-Type: multipart/alternative; boundary=001a1146f100e82032051a6b53f4 --001a1146f100e82032051a6b53f4 Content-Type: text/plain; charset=UTF-8 But I think the FileHelper class should be moved somewhere else (not sure where), so other plugins can use it and not just the camera plugin. I have a file chooser plugin and I use very similar code to get the real urls 2015-07-08 23:52 GMT+02:00 Joe Bowser : > I just tried it and it doesn't work. I think we should probably adopt > this, since I don't have a better solution to this problem. I'll pull it > in tomorrow if I don't see any objections. > > On Wed, Jul 8, 2015 at 1:32 PM Joe Bowser wrote: > > > That makes sense. I'll whitelist the Content URI and see if that > resolves > > the issue. I do think we need something to get real URIs on Android but > > this seems like the wrong place for it. > > > > On Wed, Jul 8, 2015, 1:21 PM Nikhil Khandelwal > > wrote: > > > >> I remember seeing a PR, that mentioned content:// was not working > because > >> of the whitelist plugin not supporting it when '*' was specified and/or > >> because CSP did not include it. That PR and discussion did not go > anywhere: > >> https://github.com/apache/cordova-plugin-whitelist/pull/6 > >> > >> I have myself not tried the scenarios here and I wonder if they are > >> related. > >> > >> Thanks, > >> Nikhil > >> > >> > >> -----Original Message----- > >> From: Joe Bowser [mailto:bowserj@gmail.com] > >> Sent: Wednesday, July 8, 2015 11:42 AM > >> To: dev > >> Subject: [Android] Camera Plugin Request > >> > >> Hey > >> > >> Since for some reason the browser doesn't resolve content URIs anymore, > >> I'm tempted to pull this into Camera. > >> > >> https://github.com/apache/cordova-plugin-camera/pull/93 > >> > >> The problem I have with it is the large amount of code that is being > >> added, and I want some more people to look at it before I OK it. If > that > >> could happen, that'd be awesome. > >> > >> Thanks > >> > > > --001a1146f100e82032051a6b53f4--