incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brion Vibber (JIRA)" <>
Subject [jira] [Commented] (CB-622) FileTransfer interface should provide progress monitoring
Date Mon, 27 Aug 2012 00:05:08 GMT


Brion Vibber commented on CB-622:

Updated Android and JS branches here:

I've squashed, rebased, and fixed whitespace on the original commits and made some updates
based on feedback above:
* HashMap -> HashSet
* move AbortException to class level
* use Content-Length header in download when possible

Note that since my earlier branch, another parameter has been added to FileTransfer.upload's
exec() call -- this rebase adds the new object id after it (headers).

I haven't tested these latest updates, but they compile. ;) When it passes inspection and
all works right, I can make a clean squashed version that's ready to merge.

> FileTransfer interface should provide progress monitoring
> ---------------------------------------------------------
>                 Key: CB-622
>                 URL:
>             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
For more information on JIRA, see:

View raw message