incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Grieve (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-622) FileTransfer interface should provide progress monitoring
Date Wed, 29 Aug 2012 14:17:08 GMT

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

Andrew Grieve commented on CB-622:
----------------------------------

Cory - had a look. Looks great! Feel free to just test on the simulator.

Brion - JS changes look excellent!
Java comments:
- abortTriggered - should probably make this non-static or else multiple webviews could abort
each other's requests.
- upload - doesn't look like progress events ever get lengthComputable or total fields set
on them?
- download - great point about gzip. Did a bit of Googling and found this: http://stackoverflow.com/questions/12124534/monitor-gzip-download-progress-in-java.
From what I can tell, it just means we're not even properly supporting gzipped responses!
I'm going to follow up with investigating if that's true and file a separate bug if so.

Good stuff! I think we're pretty much ready to go. Just need to wait for 2.1.0 to be released
now. :)
                
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message