incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cory Thompson (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CB-622) FileTransfer interface should provide progress monitoring
Date Thu, 09 Aug 2012 06:34:19 GMT

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

Cory Thompson edited comment on CB-622 at 8/9/12 6:33 AM:
----------------------------------------------------------

I've implemented the IOS version of this code. 
https://github.com/coryjthompson/incubator-cordova-ios/compare/filetransfer-progress

First time i've done anything in Objective C so any feedback would be appreciated. 

The javascript code has no modifications except it must merge the latest version from the
master. 
https://github.com/apache/incubator-cordova-js/commit/8c46a970a0719d0f16a225b75421ecf6f12dcc02

eg.
exec(win, fail, 'FileTransfer', 'upload', [filePath, server, fileKey, fileName, mimeType,
params, trustAllHosts, chunkedMode, header, this._id]);

Thanks Brion for all your work towards this.
                
      was (Author: coryjthompson):
    I've implemented the IOS version of this code. 
https://github.com/coryjthompson/incubator-cordova-ios/compare/filetransfer-progress

First time i've done anything in Objective C so any feedback would be appreciated. 

Thanks Brion for all your work towards this.
                  
> FileTransfer interface should provide progress monitoring
> ---------------------------------------------------------
>
>                 Key: CB-622
>                 URL: https://issues.apache.org/jira/browse/CB-622
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Android, BlackBerry, iOS, WP7
>    Affects Versions: 1.7.0
>         Environment: Checked docs for iOS and Android, and in general.
>            Reporter: Brion Vibber
>            Assignee: Andrew Grieve
>            Priority: Minor
>              Labels: FileTransfer, file
>
> The FileTransfer upload and download interface seems to provide no way to monitor progress
of the upload/download, other than waiting for the entire transfer to complete or fail.
> Being able to pass another callback for progress monitoring could be a useful interface,
this might get called with a byte count or something.

--
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