cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julian Frumar (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CB-9451) Fetching images for Google Photos by local URL fails when the image isn't downloaded
Date Thu, 06 Aug 2015 21:36:05 GMT

     [ 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


Mime
View raw message