You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2013/04/19 14:45:15 UTC

[jira] [Commented] (CB-3187) Stream/URI API for FileTransfer

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

Andrew Grieve commented on CB-3187:
-----------------------------------

Thanks Abel - wanted to confirm your use-case here. 

Is it that you get a content: URI from camera, and then pass that as a source to FileTransfer?

I quick look at the code shows that FileTransfer is using ContentResolver.openInputStream(), but sounds like something's not working about it.
                
> Stream/URI API for FileTransfer
> -------------------------------
>
>                 Key: CB-3187
>                 URL: https://issues.apache.org/jira/browse/CB-3187
>             Project: Apache Cordova
>          Issue Type: Improvement
>    Affects Versions: 2.6.0
>         Environment: Cordova 2.6.0 patched with commits from CB-2432
> https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;a=commit;h=b13166f5d92196ed3e1b2d2dfd4cef7242876d70
> https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;a=commit;h=191f31baa74d1dd99e321357c562d10f2c426f0c
>            Reporter: Abel MuiƱo
>
> The patches from CB-2432 move to the stream api to access content from the gallery, but since it is not available for FileTransfer yet, the resolved gallery items can not be easily uploaded to another service.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira