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 0BAA8DF08 for ; Fri, 9 Nov 2012 07:32:19 +0000 (UTC) Received: (qmail 94709 invoked by uid 500); 9 Nov 2012 07:32:18 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 94686 invoked by uid 500); 9 Nov 2012 07:32:18 -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 94419 invoked by uid 500); 9 Nov 2012 07:32:17 -0000 Delivered-To: apmail-incubator-callback-dev@incubator.apache.org Received: (qmail 94392 invoked by uid 99); 9 Nov 2012 07:32:17 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2012 07:32:17 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 0F0F153125; Fri, 9 Nov 2012 07:32:17 +0000 (UTC) From: ilbambino To: callback-dev@incubator.apache.org Subject: incubator-cordova-android pull request: Getting the path from the URI fails... Content-Type: text/plain Message-Id: <20121109073217.0F0F153125@tyr.zones.apache.org> Date: Fri, 9 Nov 2012 07:32:17 +0000 (UTC) GitHub user ilbambino opened a pull request: https://github.com/apache/incubator-cordova-android/pull/53 Getting the path from the URI fails if it is a 'file://' Previous to 2.2 this function was crashing if the URI wasn't different than a 'content://' but still if it is a 'file://' it fails getting the correct path. This happens for example picking a picture from dropbox instead of local gallery. You can merge this pull request into a Git repository by running: $ git pull https://github.com/ilbambino/incubator-cordova-android master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-cordova-android/pull/53.patch ---- commit 1d26239809fa6c32cc1ed293a911110f551d8985 Author: Alvaro Date: 2012-11-09T07:28:26Z not getting the path correctly if the URI contains a file:// Previous to 2.2 this function was crashing if the URI wasn't different than a 'content://' but still if it is a 'file://' it fails getting the correct path. This happens for example picking a picture from dropbox instead of local gallery. ----