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 <[email protected]>
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.
----