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 3A43018379 for ; Thu, 6 Aug 2015 21:36:12 +0000 (UTC) Received: (qmail 23609 invoked by uid 500); 6 Aug 2015 21:36:05 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 23580 invoked by uid 500); 6 Aug 2015 21:36:05 -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 23457 invoked by uid 99); 6 Aug 2015 21:36:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Aug 2015 21:36:05 +0000 Date: Thu, 6 Aug 2015 21:36:05 +0000 (UTC) From: "Julian Frumar (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (CB-9451) Fetching images for Google Photos by local URL fails when the image isn't downloaded 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-9451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Frumar closed CB-9451. ----------------------------- Resolution: Not A Problem > Fetching images for Google Photos by local URL fails when the image isn't downloaded > ------------------------------------------------------------------------------------ > > Key: CB-9451 > URL: https://issues.apache.org/jira/browse/CB-9451 > Project: Apache Cordova > Issue Type: Improvement > Components: Android, Plugin Camera > Affects Versions: 3.8.0 > Reporter: Julian Frumar > > Attempting to fetch an image that the user has picked from Google Photos seems doomed for failure if we attempt to access it via a local file URL. It seems the only reliable way to retrieve an image (which could be hosted remotely by Google) is to use: > MediaStore.Images.Media.getBitmap() > That way the system will be responsible for retrieving the Bitmap. The bitmap can then be written to the filesystem if necessary and the URL of that file can be returned for passing back across the Cordova JS bridge. > Thoughts? -- 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