incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon MacDonald (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CB-389) resolveLocalFileSystemURI does not work on a resized image captured from Camera.getPicture()
Date Tue, 27 Mar 2012 01:41:26 GMT

     [ https://issues.apache.org/jira/browse/CB-389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Simon MacDonald resolved CB-389.
--------------------------------

    Resolution: Fixed

I added some code in resolveLocalFileSystemURI to strip out any paramters added to the file
URI. This is to fix an issue where someone requests a resized image from the camera but wants
to get a FileEntry from the returned URI which has an added timestamp. 
                
> resolveLocalFileSystemURI does not work on a resized image captured from Camera.getPicture()
> --------------------------------------------------------------------------------------------
>
>                 Key: CB-389
>                 URL: https://issues.apache.org/jira/browse/CB-389
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.5.0
>            Reporter: Simon MacDonald
>            Assignee: Simon MacDonald
>             Fix For: 1.6.0
>
>
> Yoh Suzuki ysuzuki@clicktime.com
> 8:42 PM (12 minutes ago)
> to phonegap 
> Hello,
> I recently noticed that, on Android, camera capture from library using FILE_URI gives
me back a uri that is essentially "resize.jpg" with a timestamp on it.  resolveLocalFileSystemURI
doesn't work on this uri.  In earlier versions of PhoneGap, I got back a uri that could be
saved and used to reference the image.  How can I store a reference to the image (I obviously
want to avoid loading it all into localStorage as base64)?
> For iOS, I'm copying the image out of its temporary location to a permanent location.
 Can I do something similar to the image on Android?  
> Thanks!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message