cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-9960) Images from Google Photos cause FileNotFoundException
Date Fri, 06 Nov 2015 23:34:11 GMT


ASF GitHub Bot commented on CB-9960:

Github user riknoll commented on the pull request:
    I was trying to preserve the existing behavior, but I totally agree it's not ideal. What
we lose by doing this check is the filename and EXIF data for images not on the device. I
wonder if the filename is in fact retrievable using the ContentResolver (I haven't looked
into it that closely). We might be able to grab the EXIF when we get the filestream in `getScaledbitmap()`.
That might be a bit more robust overall.

> Images from Google Photos cause FileNotFoundException
> -----------------------------------------------------
>                 Key: CB-9960
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Camera
>         Environment: Android 6.0, cordova-android 5.0.0 (dev), cordova-plugin-camera
1.2.1 (dev)
>            Reporter: Richard B Knoll
>            Assignee: Richard B Knoll
>              Labels: android
> When selecting images from the PHOTOLIBRARY source using the Google Photos application
a FileNotFoundException is thrown if any flags that cause image edits are turned on (width/height,
allowEdit, correctOrientation, etc.). The issue is that our method for dereferencing content
URIs in FileHelper fails for the content URI returned by Google Photos and returns an empty
path (that {{ouputModifiedBitmap()}} tries to grab a filename from)

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message