[ 
https://issues.apache.org/jira/browse/CB-2432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13901535#comment-13901535
 ] 

ASF subversion and git services commented on CB-2432:
-----------------------------------------------------

Commit c56b33035edcfae3327369cb64c4e6818e3d84b4 in branch refs/heads/dev from 
[~iclelland]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file.git;h=c56b330 ]

CB-2432 CB-3185 CB-5975: Correctly handle content:// urls especially when 
non-local-to-device


> Camera doesn't pick Picasa photos properly
> ------------------------------------------
>
>                 Key: CB-2432
>                 URL: https://issues.apache.org/jira/browse/CB-2432
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>            Reporter: Max Woghiren
>            Assignee: Andrew Grieve
>            Priority: Minor
>             Fix For: 3.4.0
>
>
> Picking a Picasa photo results in an error on some devices.  From CB-2213:
> Picking a file from Picasa works on my Galaxy S2 running Android 4.0.3. Doing 
> so copies the image locally and works with that.
> Picking a file from Picasa does not work on Andrew's Nexus 4 running Android 
> 4.2.2. The Intent passed to CameraLauncher.onActivityResult contains a "NOT 
> CACHED" URI and appears to be unusable.
> However, when the Intent is being created in CameraLauncher.getImage, it is 
> given an "image/\*" type. Changing this to "\*/\*" provides a content URI, 
> which is nice, but it's of the form 
> "content://com.google.android.gallery3d.provider/picasa/item/...", which 
> isn't usable in the usual way; FileUtils.getRealPathFromURI returns null. 
> This case probably just needs to be handled using 
> ContentResolver.openInputStream, which would require some FileUtils 
> refactoring.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to